wok-current view 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
line source
1 diff -Naurb w3m-0.5.2.orig/main.c w3m-0.5.2/main.c
2 --- main.c 2007-05-31 10:19:50.000000000 +0900
3 +++ main.c 2009-11-09 08:20:02.184953443 +0900
4 @@ -312,7 +312,11 @@
5 lock = 0;
6 }
7 }
8 +#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
9 + else if (orig_GC_warn_proc = GC_get_warn_proc())
10 +#else
11 else if (orig_GC_warn_proc)
12 +#endif
13 orig_GC_warn_proc(msg, arg);
14 else
15 fprintf(stderr, msg, (unsigned long)arg);
16 @@ -842,7 +846,11 @@
17 mySignal(SIGPIPE, SigPipe);
18 #endif
20 +#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
21 + GC_set_warn_proc(wrap_GC_warn_proc);
22 +#else
23 orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
24 +#endif
25 err_msg = Strnew();
26 if (load_argc == 0) {
27 /* no URL specified */