summary refs log tree commit diff
path: root/gnu/packages/patches/w3m-fix-compile.patch
diff options
context:
space:
mode:
authorNikita Karetnikov <nikita@karetnikov.org>2013-03-04 01:34:13 +0000
committerNikita Karetnikov <nikita@karetnikov.org>2013-03-06 20:52:04 +0000
commitbd5ecea63754b2dbc0c142ae11d9d11716fd703a (patch)
tree6120d4233b34c26fab8565a9beb5e0854879ff74 /gnu/packages/patches/w3m-fix-compile.patch
parentbbd60260dd3f40398a1da7d3beabc29ac02976fb (diff)
downloadguix-bd5ecea63754b2dbc0c142ae11d9d11716fd703a.tar.gz
gnu: Add w3m.
* gnu/packages/w3m.scm,
  gnu/packages/patches/w3m-fix-compile.patch: New files.
* Makefile.am (MODULES): Add 'w3m.scm'.
  (dist_patch_DATA): Add 'w3m-fix-compile.patch'.
Diffstat (limited to 'gnu/packages/patches/w3m-fix-compile.patch')
-rw-r--r--gnu/packages/patches/w3m-fix-compile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/w3m-fix-compile.patch b/gnu/packages/patches/w3m-fix-compile.patch
new file mode 100644
index 0000000000..5604052f67
--- /dev/null
+++ b/gnu/packages/patches/w3m-fix-compile.patch
@@ -0,0 +1,15 @@
+https://bugs.archlinux.org/task/33397
+
+diff -aur old/main.c new/main.c
+--- main.c	2013-01-14 18:16:14.216210053 -0600
++++ main.c	2013-01-14 18:17:28.816220559 -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 */