wok-6.x view w3m/stuff/w3m-0.5.2-gc72.patch @ rev 14515
Add python-genshi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 15 13:54:10 2013 +0200 (2013-05-15) |
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 */