summaryrefslogtreecommitdiff
path: root/extra/w3m
diff options
context:
space:
mode:
Diffstat (limited to 'extra/w3m')
-rw-r--r--extra/w3m/GC_set_warn_proc.patch12
-rw-r--r--extra/w3m/PKGBUILD5
2 files changed, 14 insertions, 3 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 407b696dc..f9660f6d6 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=4
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')
@@ -35,8 +35,7 @@ build() {
--with-imagelib=imlib2 \
--with-termlib=ncurses \
--disable-w3mmailer \
- --disable-mouse \
-
+ --disable-mouse
make
}