summaryrefslogtreecommitdiff
path: root/user/w3m/use-modern-gc.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-18 21:12:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-18 21:12:39 +0000
commitab3661ce16794daaeae24866a67a5ef417bb81f8 (patch)
treebc39897019717fdf5437eeb837a79f897172eb4e /user/w3m/use-modern-gc.patch
parent815a0ecff2c8f2cf15511ef1d19a37fe11e596d6 (diff)
downloadpackages-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.patch12
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 */