diff options
Diffstat (limited to 'extra/w3m')
-rw-r--r-- | extra/w3m/GC_set_warn_proc.patch | 12 | ||||
-rw-r--r-- | extra/w3m/PKGBUILD | 14 |
2 files changed, 20 insertions, 6 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..ac7d8c12e 100644 --- a/extra/w3m/PKGBUILD +++ b/extra/w3m/PKGBUILD @@ -4,24 +4,27 @@ pkgname=w3m pkgver=0.5.3 -pkgrel=3 +pkgrel=3.1 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 } |