commit:     42c0450eb8e6e6ffee73b121e7eba230c73f2dc6
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 23:46:44 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 23:47:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c0450e

net-dns/libidn2: Do not regenerate idn2_cmd.c (bug #604146).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/libidn2/files/libidn2-0.12-gengetopt.patch | 11 +++++++++++
 net-dns/libidn2/libidn2-0.12.ebuild                |  1 +
 2 files changed, 12 insertions(+)

diff --git a/net-dns/libidn2/files/libidn2-0.12-gengetopt.patch 
b/net-dns/libidn2/files/libidn2-0.12-gengetopt.patch
new file mode 100644
index 00000000..429f10a
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.12-gengetopt.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -35,7 +35,7 @@
+ libidn2_cmd_la_LIBADD = ../lib/libgnu.la
+ libidn2_cmd_la_CFLAGS =
+ 
+-idn2_cmd.c: idn2.ggo Makefile.am
++idn2_cmd.c: idn2.ggo
+       gengetopt --unamed-opts --no-handle-version --no-handle-help \
+               --set-package="idn2" \
+               --input $^ --file-name idn2_cmd

diff --git a/net-dns/libidn2/libidn2-0.12.ebuild 
b/net-dns/libidn2/libidn2-0.12.ebuild
index 4824ae5..99c9132 100644
--- a/net-dns/libidn2/libidn2-0.12.ebuild
+++ b/net-dns/libidn2/libidn2-0.12.ebuild
@@ -32,6 +32,7 @@ DEPEND="
 PATCHES=(
        "${FILESDIR}"/${PN}-0.12-Werror.patch
        "${FILESDIR}"/${PN}-0.12-examples.patch
+       "${FILESDIR}"/${PN}-0.12-gengetopt.patch
        "${FILESDIR}"/${PN}-0.12-noinstall.patch
        "${FILESDIR}"/${PN}-0.12-wget.patch
 )

Reply via email to