[PATCH] www/w3m fails to build under stable/10 r256624 i386

Chad J. Milios milios at ccsys.com
Fri Oct 18 21:02:28 UTC 2013


found this at:
http://sourceforge.net/p/w3m/patches/59/

confirmed compiles, confirmed works on:
FreeBSD naruto.ccsys.com 9.2-RELEASE FreeBSD 9.2-RELEASE #1 r256078: Sun 
Oct  6 07:24:48 UTC 2013 
root at shikamaru.ccsys.com:/usr/obj/usr/src/sys/VIMAGE  amd64

--- main.c.orig 2011-01-04 09:42:19.000000000 +0000
+++ main.c      2013-10-18 20:38:37.342820541 +0000
@@ -833,7 +833,12 @@
      mySignal(SIGPIPE, SigPipe);
  #endif

+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
+    orig_GC_warn_proc = GC_get_warn_proc();
+    GC_set_warn_proc(wrap_GC_warn_proc);
+#else
      orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
+#endif
      err_msg = Strnew();
      if (load_argc == 0) {
         /* no URL specified */



More information about the freebsd-ports mailing list