diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-18 21:12:39 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-18 21:12:39 +0000 |
commit | ab3661ce16794daaeae24866a67a5ef417bb81f8 (patch) | |
tree | bc39897019717fdf5437eeb837a79f897172eb4e /user/w3m/use-modern-gc.patch | |
parent | 815a0ecff2c8f2cf15511ef1d19a37fe11e596d6 (diff) | |
download | packages-ab3661ce16794daaeae24866a67a5ef417bb81f8.tar.gz packages-ab3661ce16794daaeae24866a67a5ef417bb81f8.tar.bz2 packages-ab3661ce16794daaeae24866a67a5ef417bb81f8.tar.xz packages-ab3661ce16794daaeae24866a67a5ef417bb81f8.zip |
user/w3m: new package, doesn't always build right, go to hell
Diffstat (limited to 'user/w3m/use-modern-gc.patch')
-rw-r--r-- | user/w3m/use-modern-gc.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/w3m/use-modern-gc.patch b/user/w3m/use-modern-gc.patch new file mode 100644 index 000000000..a30d642bb --- /dev/null +++ b/user/w3m/use-modern-gc.patch @@ -0,0 +1,12 @@ +--- w3m-0.5.3/main.c.old 2011-01-04 09:42:19.000000000 +0000 ++++ w3m-0.5.3/main.c 2019-01-18 20:12:22.570000000 +0000 +@@ -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 */ |