summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-12-31 00:46:44 +0100
committerJeroen Roovers <jer@gentoo.org>2016-12-31 00:47:08 +0100
commit42c0450eb8e6e6ffee73b121e7eba230c73f2dc6 (patch)
treef4159f54c6deee89dbe3ac63a2cf9f55a3163921 /net-dns
parentMerge branch 'dev-erlang-version-bumps' (diff)
downloadgentoo-42c0450eb8e6e6ffee73b121e7eba230c73f2dc6.tar.gz
gentoo-42c0450eb8e6e6ffee73b121e7eba230c73f2dc6.tar.bz2
gentoo-42c0450eb8e6e6ffee73b121e7eba230c73f2dc6.zip
net-dns/libidn2: Do not regenerate idn2_cmd.c (bug #604146).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn2/files/libidn2-0.12-gengetopt.patch11
-rw-r--r--net-dns/libidn2/libidn2-0.12.ebuild1
2 files changed, 12 insertions, 0 deletions
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 000000000000..429f10a61fec
--- /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 4824ae558113..99c913271dd5 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
)