diff options
Diffstat (limited to 'www/w3m/patches/patch-ab')
-rw-r--r-- | www/w3m/patches/patch-ab | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/www/w3m/patches/patch-ab b/www/w3m/patches/patch-ab index 8424ffaac28..63885677c27 100644 --- a/www/w3m/patches/patch-ab +++ b/www/w3m/patches/patch-ab @@ -1,10 +1,21 @@ -$NetBSD: patch-ab,v 1.11 2008/12/13 08:24:55 obache Exp $ +$NetBSD: patch-ab,v 1.12 2012/05/30 06:42:34 wiz Exp $ -Suspend the job w3m belongs to, not w3m only. +First chunk: adapt for gc-7.2 API change. +Second chunk: suspend the job w3m belongs to, not w3m only. ---- main.c.orig 2007-05-31 01:19:50.000000000 +0000 +--- main.c.orig 2011-01-04 09:42:19.000000000 +0000 +++ main.c -@@ -2496,7 +2496,17 @@ DEFUN(susp, INTERRUPT SUSPEND, "Stop loa +@@ -833,7 +833,8 @@ main(int argc, char **argv, char **envp) + 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 */ +@@ -2517,7 +2518,17 @@ DEFUN(susp, INTERRUPT SUSPEND, "Stop loa shell = "/bin/sh"; system(shell); #else /* SIGSTOP */ |