freebsd-ports/www/w3m/files/patch-main.c
MANTANI Nobutaka d1a5bf82c2 Fix build error.
PR:	ports/183097, ports/183156
Submitted by:	Guillaume Bibaut <yom@iaelu.net>, Oliver Fromme <oliver.fromme@secnetix.de>
2013-10-22 22:45:00 +00:00

13 lines
389 B
C

--- main.c.old 2007-05-31 06:49:50.000000000 +0530
+++ main.c 2010-02-16 16:16:24.000000000 +0530
@@ -842,7 +842,9 @@
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 */