summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-25 21:59:28 +0000
committerSam James <sam@gentoo.org>2021-04-25 22:00:51 +0000
commit50c53cbcbe84fe1473244e2bd6ad5e4533601bac (patch)
tree810a2a7eb4c723bf5517cb60ac1be5e73bdc83f3 /www-client
parentwww-client/w3m: add 0.5.3_p20210102 (diff)
downloadgentoo-50c53cbcbe84fe1473244e2bd6ad5e4533601bac.tar.gz
gentoo-50c53cbcbe84fe1473244e2bd6ad5e4533601bac.tar.bz2
gentoo-50c53cbcbe84fe1473244e2bd6ad5e4533601bac.zip
www-client/w3m: further fixups for autoreconf patch
Closes: https://bugs.gentoo.org/778482 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/w3m/files/w3m-0.5.3_p20210102-restore-gettext-macro.patch (renamed from www-client/w3m/files/lang.patch)5
-rw-r--r--www-client/w3m/w3m-0.5.3_p20210102.ebuild10
2 files changed, 8 insertions, 7 deletions
diff --git a/www-client/w3m/files/lang.patch b/www-client/w3m/files/w3m-0.5.3_p20210102-restore-gettext-macro.patch
index dccc35426900..ffd30c62a5dc 100644
--- a/www-client/w3m/files/lang.patch
+++ b/www-client/w3m/files/w3m-0.5.3_p20210102-restore-gettext-macro.patch
@@ -1,5 +1,5 @@
-new file mode 100644
-index 00000000..da1b2aef
+https://sources.debian.org/patches/gnokii/0.6.30+dfsg-1.3/0001-Add-codeset.m4-to-m4-to-prevent-build-failure-with-g.patch/
+https://bugs.gentoo.org/778482
--- /dev/null
+++ b/m4/codeset.m4
@@ -0,0 +1,25 @@
@@ -29,4 +29,3 @@ index 00000000..da1b2aef
+])
+
--
-2.20.1
diff --git a/www-client/w3m/w3m-0.5.3_p20210102.ebuild b/www-client/w3m/w3m-0.5.3_p20210102.ebuild
index cb833a9cd2b5..60b0c812ca76 100644
--- a/www-client/w3m/w3m-0.5.3_p20210102.ebuild
+++ b/www-client/w3m/w3m-0.5.3_p20210102.ebuild
@@ -11,6 +11,7 @@ MY_PV="${PV/_p/+git}"
DESCRIPTION="Text based WWW browser, supports tables and frames"
HOMEPAGE="https://github.com/tats/w3m"
SRC_URI="https://github.com/tats/w3m/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${P/_p/-git}"
LICENSE="w3m"
SLOT="0"
@@ -47,16 +48,17 @@ BDEPEND="
virtual/pkgconfig
"
-PATCHES=( "${FILESDIR}/lang.patch" )
-
-S="${WORKDIR}/${P/_p/-git}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-restore-gettext-macro.patch
+)
src_prepare() {
default
+
sed -i "/^AR=/s:ar:$(tc-getAR):" {.,${PN}img,libwc}/Makefile.in || die
hprefixify acinclude.m4
- eautoconf
+ AT_M4DIR="m4" eautoreconf
}
src_configure() {