diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2019-10-23 20:48:35 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-11-06 08:23:21 +0200 |
commit | cb8d3b90e28402c3c172209c57c1b787899791ed (patch) | |
tree | 3fbd025635eadfec355b581277afe94971f3bc46 /net-dialup | |
parent | mail-client/neomutt: Fix USE='doc' (diff) | |
download | gentoo-cb8d3b90e28402c3c172209c57c1b787899791ed.tar.gz gentoo-cb8d3b90e28402c3c172209c57c1b787899791ed.tar.bz2 gentoo-cb8d3b90e28402c3c172209c57c1b787899791ed.zip |
net-dialup/lrzsz: fix compilation with gettext-0.20
Thanks to Felix J. Ogris for the patch!
Closes: https://bugs.gentoo.org/685696
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/13400
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.20.patch | 23 | ||||
-rw-r--r-- | net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild | 9 |
2 files changed, 29 insertions, 3 deletions
diff --git a/net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.20.patch b/net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.20.patch new file mode 100644 index 000000000000..3c58bd18091a --- /dev/null +++ b/net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.20.patch @@ -0,0 +1,23 @@ +diff -udr a/configure.in b/configure.in +--- a/configure.in 1998-12-30 08:50:07.000000000 +0100 ++++ b/configure.in 2019-06-01 20:38:54.918650170 +0200 +@@ -1,3 +1,4 @@ ++m4_pattern_allow(.*) + dnl Process this file with autoconf to produce a configure script. + AC_INIT(src/crctab.c) + AM_INIT_AUTOMAKE(lrzsz, 0.12.20) +diff -udr lrzsz-0.12.20.orig/po/Makefile.in.in lrzsz-0.12.20/po/Makefile.in.in +--- a/po/Makefile.in.in 1998-04-26 15:22:40.000000000 +0200 ++++ b/po/Makefile.in.in 2019-06-01 20:48:09.020703542 +0200 +@@ -110,9 +110,9 @@ + install-data-no: all + install-data-yes: all + if test -r $(MKINSTALLDIRS); then \ +- $(MKINSTALLDIRS) $(datadir); \ ++ $(MKINSTALLDIRS) $(DATADIR); \ + else \ +- $(top_srcdir)/mkinstalldirs $(datadir); \ ++ $(top_srcdir)/mkinstalldirs $(DATADIR); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ diff --git a/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild b/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild index c89d4506098b..e41f957e5b6a 100644 --- a/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild +++ b/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,10 +16,13 @@ IUSE="nls" DEPEND="nls? ( virtual/libintl )" -PATCHES=( "${FILESDIR}"/${PN}-autotools.patch +PATCHES=( + "${FILESDIR}"/${PN}-autotools.patch "${FILESDIR}"/${PN}-implicit-decl.patch "${FILESDIR}"/${P}-automake-1.12.patch - "${FILESDIR}"/${P}-automake-1.13.patch ) + "${FILESDIR}"/${P}-automake-1.13.patch + "${FILESDIR}"/${P}-gettext-0.20.patch +) DOCS=( AUTHORS COMPATABILITY ChangeLog NEWS \ README{,.cvs,.gettext,.isdn4linux,.tests} THANKS TODO ) |