Skip to content

Instantly share code, notes, and snippets.

@beatgammit
Created October 21, 2013 15:55
Show Gist options
  • Save beatgammit/7086240 to your computer and use it in GitHub Desktop.
Save beatgammit/7086240 to your computer and use it in GitHub Desktop.
Patch for www/w3m on freebsd
--- main.c 2011-01-04 02:42:19.000000000 -0700
+++ main2.c 2013-10-21 09:31:27.000000000 -0600
@@ -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 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment