aboutsummaryrefslogtreecommitdiffstats
path: root/community/w3m/gc72.patch
blob: 47bd4c85c885131465ff1127d44c4181492141ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Naur old/main.c new/main.c
--- old/main.c	2011-01-04 20:42:19.000000000 +1100
+++ new/main.c	2012-07-04 21:49:10.136212236 +1000
@@ -833,7 +833,8 @@
     mySignal(SIGPIPE, SigPipe);
 #endif
 
-    orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
+    orig_GC_warn_proc = GC_get_warn_proc();
+    GC_set_warn_proc(wrap_GC_warn_proc);
     err_msg = Strnew();
     if (load_argc == 0) {
 	/* no URL specified */