]> git.pld-linux.org Git - packages/w3m.git/commitdiff
- added gc patch (fixes build with gc 7.2; old code caused segfaults with this version)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Jun 2012 05:41:16 +0000 (05:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    w3m-gc.patch -> 1.1
    w3m.spec -> 1.72

w3m-gc.patch [new file with mode: 0644]
w3m.spec

diff --git a/w3m-gc.patch b/w3m-gc.patch
new file mode 100644 (file)
index 0000000..a5f3bbd
--- /dev/null
@@ -0,0 +1,12 @@
+--- w3m-0.5.3/main.c.orig      2011-01-04 10:42:19.000000000 +0100
++++ w3m-0.5.3/main.c   2012-06-02 22:37:00.686465959 +0200
+@@ -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 */
index fb6c563ca63fa946e91e7fc9f3925c1c2e7f0c77..17d87e6cae1dc680545e5b7493e2d2be3188cf2a 100644 (file)
--- a/w3m.spec
+++ b/w3m.spec
@@ -7,7 +7,7 @@ Summary(pt_BR.UTF-8):   O w3m é um paginador, mas pode ser usado também como um
 Summary(tr.UTF-8):     Metin ekranda WWW tarayıcı
 Name:          w3m
 Version:       0.5.3
-Release:       3
+Release:       4
 Epoch:         1
 License:       MIT-like
 Group:         Applications/Networking
@@ -15,8 +15,9 @@ Source0:      http://downloads.sourceforge.net/w3m/%{name}-%{version}.tar.gz
 # Source0-md5: 1b845a983a50b8dec0169ac48479eacc
 Patch0:                %{name}-gzip_fallback.patch
 Patch1:                %{name}-nolibs.patch
-Patch2:                w3m-0.5.3-parallel-make.patch
-Patch3:                w3m-0.5.2-fix_gcc_error.patch
+Patch2:                %{name}-0.5.3-parallel-make.patch
+Patch3:                %{name}-0.5.2-fix_gcc_error.patch
+Patch4:                %{name}-gc.patch
 URL:           http://w3m.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -85,6 +86,7 @@ na linuksowym framebufferze.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %{__sed} '/^AC_PROG_CXX$/d' -i configure.ac
 
This page took 0.070715 seconds and 4 git commands to generate.