From 371f256f5f300b01be228a6fd95884ea475965fc Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 5 Jan 2016 16:57:29 -0500 Subject: [PATCH 1/4] fix compile https://bugs.archlinux.org/task/33397 --- 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