1 This patch fixes w3m compilation with libgc > 7.2.
4 https://bugs.archlinux.org/task/33397
6 Patch with explanation:
7 http://anonscm.debian.org/cgit/collab-maint/w3m.git/commit/?id=770eec8304bdbe458
10 1 file changed, 2 insertions(+), 1 deletion(-)
12 diff --git a/main.c b/main.c
13 index b421943..249eb1a 100644
16 @@ -833,7 +833,8 @@ main(int argc, char **argv, char **envp)
17 mySignal(SIGPIPE, SigPipe);
20 - orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
21 + orig_GC_warn_proc = GC_get_warn_proc();
22 + GC_set_warn_proc(wrap_GC_warn_proc);
25 /* no URL specified */