wok view w3m/stuff/w3m-0.5.2-gc72.patch @ rev 21022

updated gxmessage (2.6.2 -> 2.20.4)
author Hans-G?nter Theisgen
date Sun Mar 10 15:40:30 2019 +0100 (2019-03-10)
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 */