[arch-commits] Commit in w3m/trunk (PKGBUILD https-segfault.patch)

Gaetan Bisson bisson at archlinux.org
Mon Feb 6 20:25:20 EST 2012


    Date: Monday, February 6, 2012 @ 20:25:19
  Author: bisson
Revision: 149345

fix https segfault

Added:
  w3m/trunk/https-segfault.patch
Modified:
  w3m/trunk/PKGBUILD

----------------------+
 PKGBUILD             |    9 ++++++---
 https-segfault.patch |   19 +++++++++++++++++++
 2 files changed, 25 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-06 23:02:05 UTC (rev 149344)
+++ PKGBUILD	2012-02-07 01:25:19 UTC (rev 149345)
@@ -4,7 +4,7 @@
 
 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 @@
 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 \

Added: https-segfault.patch
===================================================================
--- https-segfault.patch	                        (rev 0)
+++ https-segfault.patch	2012-02-07 01:25:19 UTC (rev 149345)
@@ -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},



More information about the arch-commits mailing list