summaryrefslogtreecommitdiff
path: root/extra/w3m/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/w3m/PKGBUILD')
-rw-r--r--extra/w3m/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
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
}