wok-next view w3m/stuff/w3m-0.5.2-gc72.patch @ rev 14909
slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 05 11:40:01 2013 +0300 (2013-08-05) |
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 */