summaryrefslogtreecommitdiff
path: root/extra/w3m/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-09-07 18:14:46 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2011-09-07 18:14:46 +0200
commitc1d41598c939b7220de0f75bc0a14ba1c5c6248f (patch)
tree66fb821596ccd8ebc783199fdf69a4de867ec6cb /extra/w3m/PKGBUILD
parent6a0c83cfba534fde4a1e407fa2ee9269507716b0 (diff)
Fix w3m to build with current gc.
Diffstat (limited to 'extra/w3m/PKGBUILD')
-rw-r--r--extra/w3m/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD
index ef20757d3..07360a028 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -11,11 +11,14 @@ license=('custom')
depends=('openssl' 'gc' 'ncurses' 'zlib')
makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
-source=("http://downloads.sourceforge.net/sourceforge/w3m/$pkgname-$pkgver.tar.gz")
-sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237')
+source=("http://downloads.sourceforge.net/sourceforge/w3m/$pkgname-$pkgver.tar.gz"
+ "GC_set_warn_proc.patch")
+sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237'
+ '8bf1eae3241f5781d121319c8ee9bcda32d1f7bd')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -Np0 -i "${srcdir}/GC_set_warn_proc.patch"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
@@ -34,4 +37,4 @@ package() {
install -d "$pkgdir"/usr/share/{doc,licenses}/"$pkgname"
find doc/* | grep -v CVS | xargs -i install "{}" "$pkgdir/usr/share/doc/$pkgname/"
ln -s "../../doc/$pkgname/README" "$pkgdir/usr/share/licenses/$pkgname/"
-} \ No newline at end of file
+}