commit:     4f3811aa431fa66e4baa15faa5242e3a9e0858c2
Author:     Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Wed Nov 11 15:08:49 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 19 10:21:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3811aa

app-arch/torrentzip: Fix building with autoconf-2.70

* EAPI=7
* Drop leftover dependency on app-arch/unzip.
* Add a patch that fixes underquoting in configure.ac which
  caused aclocal to fail with recent autoconf-2.70 betas.

Closes: https://bugs.gentoo.org/751235
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Closes: https://github.com/gentoo/gentoo/pull/18225
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../files/torrentzip-0.9-autoconf-quote.patch      |  8 ++++++
 app-arch/torrentzip/torrentzip-0.9-r1.ebuild       | 29 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-arch/torrentzip/files/torrentzip-0.9-autoconf-quote.patch 
b/app-arch/torrentzip/files/torrentzip-0.9-autoconf-quote.patch
new file mode 100644
index 00000000000..c71542f4c7d
--- /dev/null
+++ b/app-arch/torrentzip/files/torrentzip-0.9-autoconf-quote.patch
@@ -0,0 +1,8 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,4 +1,4 @@
+-AC_INIT([TorrentZip], [0.0], [StatMan, shindakun, Ultrasubmarine, r3nh03k 
<http://trrntzip.sf.net>], [trrntzip])
++AC_INIT([TorrentZip], [0.9], [[StatMan, shindakun, Ultrasubmarine, r3nh03k 
<http://trrntzip.sf.net>]], [trrntzip])
+ 
+ AM_INIT_AUTOMAKE
+ AM_CONFIG_HEADER(config.h)

diff --git a/app-arch/torrentzip/torrentzip-0.9-r1.ebuild 
b/app-arch/torrentzip/torrentzip-0.9-r1.ebuild
new file mode 100644
index 00000000000..bf160c6743f
--- /dev/null
+++ b/app-arch/torrentzip/torrentzip-0.9-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Create identical zip archives over multiple systems"
+HOMEPAGE="https://sourceforge.net/projects/trrntzip";
+SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib"
+
+DEPEND="${RDEPEND}"
+
+DOCS=(README AUTHORS)
+
+PATCHES=("${FILESDIR}/${P}-autoconf-quote.patch")
+
+src_prepare() {
+       default
+       export CPPFLAGS+=" -DOF\\(args\\)=args"
+       eautoreconf
+}

Reply via email to