summaryrefslogtreecommitdiff
path: root/extra/w3m
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-07 23:00:59 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-07 23:00:59 -0300
commit87bd9124ec1abd5c6171af47af93805b975343b6 (patch)
treef9732aabf9c46c6391409187f8ddf8cc5b005006 /extra/w3m
parent96c65d8a0393645808ab5ea31776baa26209fc5f (diff)
parent0dee03071a0643c3ee5820afa3c694dcef71d385 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/beye/PKGBUILD community/xmlrpc-c/PKGBUILD extra/avidemux/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/gtk2/PKGBUILD extra/libvpx/PKGBUILD extra/libxfce4menu/PKGBUILD extra/libxml2/PKGBUILD extra/pixman/PKGBUILD extra/thunar-archive-plugin/PKGBUILD extra/thunar-volman/PKGBUILD extra/vdpau-video/PKGBUILD extra/xfce4-appfinder/PKGBUILD extra/xfce4-battery-plugin/PKGBUILD extra/xfce4-cpufreq-plugin/PKGBUILD extra/xfce4-cpugraph-plugin/PKGBUILD extra/xfce4-dict/PKGBUILD extra/xfce4-diskperf-plugin/PKGBUILD extra/xfce4-eyes-plugin/PKGBUILD extra/xfce4-fsguard-plugin/PKGBUILD extra/xfce4-mixer/PKGBUILD extra/xfce4-mount-plugin/PKGBUILD extra/xfce4-mpc-plugin/PKGBUILD extra/xfce4-power-manager/PKGBUILD extra/xfce4-systemload-plugin/PKGBUILD extra/xfce4-taskmanager/PKGBUILD extra/xfce4-time-out-plugin/PKGBUILD extra/xfce4-timer-plugin/PKGBUILD extra/xfce4-wavelan-plugin/PKGBUILD extra/xorg-luit/PKGBUILD extra/xorg-xfontsel/PKGBUILD extra/xulrunner/PKGBUILD kde-unstable/calligra/PKGBUILD libre/mplayer-vaapi-libre/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'extra/w3m')
-rw-r--r--extra/w3m/PKGBUILD11
-rw-r--r--extra/w3m/https-segfault.patch19
2 files changed, 26 insertions, 4 deletions
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD
index 021ba8c20..c212d6ac5 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 149052 2012-02-05 15:37:14Z bisson $
+# $Id: PKGBUILD 149346 2012-02-07 01:25:49Z bisson $
# Contributor: dorphell <dorphell@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=w3m
pkgver=0.5.3
-pkgrel=2
+pkgrel=3
pkgdesc='Text-based Web browser, as well as pager'
url='http://w3m.sourceforge.net/'
license=('custom')
@@ -12,13 +12,16 @@ 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")
-sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237')
+source=("http://downloads.sourceforge.net/sourceforge/w3m/${pkgname}-${pkgver}.tar.gz"
+ 'https-segfault.patch')
+sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237'
+ '66affb2f695fe0bdde25cf774642bfd6a9404e88')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed 's/file_handle/file_handle_rofl/g' -i istream.*
+ patch -p1 -i ../https-segfault.patch
./configure \
--prefix=/usr \
diff --git a/extra/w3m/https-segfault.patch b/extra/w3m/https-segfault.patch
new file mode 100644
index 000000000..31286a70d
--- /dev/null
+++ b/extra/w3m/https-segfault.patch
@@ -0,0 +1,19 @@
+Fedora patch; see https://bugzilla.redhat.com/show_bug.cgi?id=707994
+
+--- old/url.c 2011-01-04 14:52:24.000000000 +0530
++++ new/url.c 2011-09-02 18:25:43.305652690 +0530
+@@ -82,11 +82,11 @@
+ {"ftp", SCM_FTP},
+ {"local", SCM_LOCAL},
+ {"file", SCM_LOCAL},
+- /* {"exec", SCM_EXEC}, */
++ {"exec", SCM_EXEC},
+ {"nntp", SCM_NNTP},
+- /* {"nntp", SCM_NNTP_GROUP}, */
++ {"nntp", SCM_NNTP_GROUP},
+ {"news", SCM_NEWS},
+- /* {"news", SCM_NEWS_GROUP}, */
++ {"news", SCM_NEWS_GROUP},
+ {"data", SCM_DATA},
+ #ifndef USE_W3MMAILER
+ {"mailto", SCM_MAILTO},