mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-12 09:56:14 -05:00
e6352001c4
* gnu/packages/patches/w3m-fix-compile.patch: Rename this file... * gnu/packages/patches/w3m-libgc.patch: ...to this, and adjust patch prefix level to '-p1'. * gnu-system.am (dist_patch_DATA): Update patch name. * gnu/packages/w3m.scm (w3m)[source]: Update patch name. [source]: Drop patch flag -p0.
28 lines
701 B
Diff
28 lines
701 B
Diff
This patch fixes w3m compilation with libgc > 7.2.
|
|
|
|
Reported:
|
|
https://bugs.archlinux.org/task/33397
|
|
|
|
Patch with explanation:
|
|
http://anonscm.debian.org/cgit/collab-maint/w3m.git/commit/?id=770eec8304bdbe458
|
|
---
|
|
main.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/main.c b/main.c
|
|
index b421943..249eb1a 100644
|
|
--- a/main.c
|
|
+++ b/main.c
|
|
@@ -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 */
|
|
--
|
|
2.6.4
|
|
|