mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
w3m: update to 0.5.3, rework patches
This commit is contained in:
12
w3m/patches/003-GC_set_warn_proc.patch
Normal file
12
w3m/patches/003-GC_set_warn_proc.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- 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 */
|
||||
Reference in New Issue
Block a user