diff options
Diffstat (limited to 'extra/w3m')
-rw-r--r-- | extra/w3m/GC_set_warn_proc.patch | 12 | ||||
-rw-r--r-- | extra/w3m/PKGBUILD | 12 |
2 files changed, 19 insertions, 5 deletions
diff --git a/extra/w3m/GC_set_warn_proc.patch b/extra/w3m/GC_set_warn_proc.patch new file mode 100644 index 000000000..a679c8d23 --- /dev/null +++ b/extra/w3m/GC_set_warn_proc.patch @@ -0,0 +1,12 @@ +--- main.c.orig 2011-09-07 17:30:01.181808262 +0200 ++++ main.c 2011-09-07 17:30:52.833808484 +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 */ diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD index 438d25c4f..7bf77f815 100644 --- a/extra/w3m/PKGBUILD +++ b/extra/w3m/PKGBUILD @@ -8,20 +8,23 @@ pkgrel=3 pkgdesc='Text-based Web browser, as well as pager' url='http://w3m.sourceforge.net/' license=('custom') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') makedepends=('imlib2') optdepends=('imlib2: for graphics support') depends=('openssl' 'gc' 'ncurses') source=("http://downloads.sourceforge.net/sourceforge/w3m/${pkgname}-${pkgver}.tar.gz" - 'https-segfault.patch') + 'https-segfault.patch' + 'GC_set_warn_proc.patch') sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237' - '66affb2f695fe0bdde25cf774642bfd6a9404e88') + '66affb2f695fe0bdde25cf774642bfd6a9404e88' + '8bf1eae3241f5781d121319c8ee9bcda32d1f7bd') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed 's/file_handle/file_handle_rofl/g' -i istream.* patch -p1 -i ../https-segfault.patch + patch -Np0 -i "${srcdir}/GC_set_warn_proc.patch" ./configure \ --prefix=/usr \ @@ -30,8 +33,7 @@ build() { --with-imagelib=imlib2 \ --with-termlib=ncurses \ --disable-w3mmailer \ - --disable-mouse \ - + --disable-mouse make } |