summaryrefslogtreecommitdiff
path: root/user/w3m
diff options
context:
space:
mode:
Diffstat (limited to 'user/w3m')
-rw-r--r--user/w3m/APKBUILD16
-rw-r--r--user/w3m/use-modern-gc.patch12
2 files changed, 4 insertions, 24 deletions
diff --git a/user/w3m/APKBUILD b/user/w3m/APKBUILD
index 1e4ed29b2..134acd67d 100644
--- a/user/w3m/APKBUILD
+++ b/user/w3m/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=w3m
-pkgver=0.5.3
+pkgver=0.5.3_git20190105
pkgrel=0
pkgdesc="Text-based Web browser"
url="http://w3m.sourceforge.net/"
@@ -12,15 +12,8 @@ depends="compface"
makedepends="compface-dev gc-dev gdk-pixbuf-dev glib-dev gtk+2.0-dev imlib2-dev
libbsd-dev libx11-dev ncurses-dev openssl-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://downloads.sourceforge.net/w3m/w3m-$pkgver.tar.gz
- use-modern-gc.patch
- "
-
-prepare() {
- cd "$builddir"
- default_prepare
- update_config_sub
-}
+source="w3m-$pkgver.tar.gz::https://github.com/tats/w3m/archive/v0.5.3+git20190105.tar.gz"
+builddir="$srcdir"/w3m-${pkgver/_/-}
build() {
cd "$builddir"
@@ -40,5 +33,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="43508c76d07b4d8f19c19f975c0b870aeb94abf0744b6128ee01c759d4e409a8b57bc866baeaf990f309ff73e9a7b02ca455d272b1dd0a93fafb8c72b1fe6d14 w3m-0.5.3.tar.gz
-d43f99e2277b0daabb6080b06b4e06af7a1b679da9203bad782ef57e137ca18d27b85ef7a0691aeb293bd3f6f00bd556d1fe021fed0b725b5b78b376671f1494 use-modern-gc.patch"
+sha512sums="b63b15d0bea82f50bcaa9fc0826c2d3c265a3ad73069b4a020812f28b552cdf08618ab877280c9f3a43bd64f51b80b7a526098e6395ea121c0981a3fcd2562b4 w3m-0.5.3_git20190105.tar.gz"
diff --git a/user/w3m/use-modern-gc.patch b/user/w3m/use-modern-gc.patch
deleted file mode 100644
index a30d642bb..000000000
--- a/user/w3m/use-modern-gc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- w3m-0.5.3/main.c.old 2011-01-04 09:42:19.000000000 +0000
-+++ w3m-0.5.3/main.c 2019-01-18 20:12:22.570000000 +0000
-@@ -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 */