wok-current annotate w3m/stuff/w3m-0.5.2-gc72.patch @ rev 18713

Translations for Science category (thanks Aleksej)
author Lucas Levrel <llevrel@yahoo.fr>
date Wed Dec 16 20:44:08 2015 +0100 (2015-12-16)
parents
children
rev   line source
mojo@14206 1 diff -Naurb w3m-0.5.2.orig/main.c w3m-0.5.2/main.c
mojo@14206 2 --- main.c 2007-05-31 10:19:50.000000000 +0900
mojo@14206 3 +++ main.c 2009-11-09 08:20:02.184953443 +0900
mojo@14206 4 @@ -312,7 +312,11 @@
mojo@14206 5 lock = 0;
mojo@14206 6 }
mojo@14206 7 }
mojo@14206 8 +#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
mojo@14206 9 + else if (orig_GC_warn_proc = GC_get_warn_proc())
mojo@14206 10 +#else
mojo@14206 11 else if (orig_GC_warn_proc)
mojo@14206 12 +#endif
mojo@14206 13 orig_GC_warn_proc(msg, arg);
mojo@14206 14 else
mojo@14206 15 fprintf(stderr, msg, (unsigned long)arg);
mojo@14206 16 @@ -842,7 +846,11 @@
mojo@14206 17 mySignal(SIGPIPE, SigPipe);
mojo@14206 18 #endif
mojo@14206 19
mojo@14206 20 +#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
mojo@14206 21 + GC_set_warn_proc(wrap_GC_warn_proc);
mojo@14206 22 +#else
mojo@14206 23 orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
mojo@14206 24 +#endif
mojo@14206 25 err_msg = Strnew();
mojo@14206 26 if (load_argc == 0) {
mojo@14206 27 /* no URL specified */