[arch-commits] Commit in w3m/trunk (PKGBUILD form_unknown.patch)
Gaetan Bisson
bisson at nymeria.archlinux.org
Sat Nov 9 05:20:58 UTC 2013
Date: Saturday, November 9, 2013 @ 06:20:57
Author: bisson
Revision: 199273
fix unknown form fields issue
Added:
w3m/trunk/form_unknown.patch
Modified:
w3m/trunk/PKGBUILD
--------------------+
PKGBUILD | 13 ++++++-------
form_unknown.patch | 15 +++++++++++++++
2 files changed, 21 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-09 04:37:10 UTC (rev 199272)
+++ PKGBUILD 2013-11-09 05:20:57 UTC (rev 199273)
@@ -1,10 +1,10 @@
# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
# Contributor: dorphell <dorphell at archlinux.org>
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
pkgname=w3m
pkgver=0.5.3
-pkgrel=4
+pkgrel=5
pkgdesc='Text-based Web browser, as well as pager'
url='http://w3m.sourceforge.net/'
license=('custom')
@@ -12,11 +12,13 @@
makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
depends=('openssl' 'gc' 'ncurses')
-source=("http://downloads.sourceforge.net/sourceforge/w3m/${pkgname}-${pkgver}.tar.gz"
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ 'form_unknown.patch'
'file_handle.patch'
'https.patch'
'gc72.patch')
sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237'
+ '23d648033ad77f3c67d370c62cf7b7ed86b5c6f2'
'457de43be7eabc652614461a7ab25e3ba76b2aff'
'66affb2f695fe0bdde25cf774642bfd6a9404e88'
'7baa06ca684fd140503a2adc65e2d606970c4662')
@@ -23,12 +25,9 @@
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../file_handle.patch
- patch -p1 -i ../https.patch
- patch -p1 -i ../gc72.patch
+ ls ../*.patch | xargs -i patch -p1 -i {}
}
-
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
Added: form_unknown.patch
===================================================================
--- form_unknown.patch (rev 0)
+++ form_unknown.patch 2013-11-09 05:20:57 UTC (rev 199273)
@@ -0,0 +1,15 @@
+See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615843
+
+Index: w3m-git/form.c
+===================================================================
+--- w3m-git.orig/form.c 2011-02-28 15:03:36.000000000 +0100
++++ w3m-git/form.c 2011-02-28 15:32:33.000000000 +0100
+@@ -196,7 +196,7 @@
+ if (!strcasecmp(typestr, _formtypetbl[i]))
+ return i;
+ }
+- return FORM_UNKNOWN;
++ return FORM_INPUT_TEXT;
+ }
+
+ void
More information about the arch-commits
mailing list