From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn2/, net-dns/libidn2/files/
Date: Tue, 14 Mar 2017 19:54:25 +0000 (UTC) [thread overview]
Message-ID: <1489521097.93aa5321b95cd8d36c100135a4394d7682fc41ad.vapier@gentoo> (raw)
commit: 93aa5321b95cd8d36c100135a4394d7682fc41ad
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 14 19:51:30 2017 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 19:51:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93aa5321
net-dns/libidn2: get cross-compiling working
net-dns/libidn2/files/libidn2-0.16-cross.patch | 28 ++++++++++++++++++++++++++
net-dns/libidn2/libidn2-0.16-r1.ebuild | 1 +
2 files changed, 29 insertions(+)
diff --git a/net-dns/libidn2/files/libidn2-0.16-cross.patch b/net-dns/libidn2/files/libidn2-0.16-cross.patch
new file mode 100644
index 00000000000..bf963e9f467
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.16-cross.patch
@@ -0,0 +1,28 @@
+https://gitlab.com/jas/libidn2/issues/6
+
+the release ships with this source file, so don't regen it on every build.
+doing so breaks cross-compilation currently.
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -66,7 +66,8 @@
+ noinst_PROGRAMS = gentr46map
+ gentr46map_LDADD = $(LTLIBUNISTRING)
+
+-tr46map_data.c: gentr46map.c gentr46map$(EXEEXT) $(TR46MAP) $(NFCQC)
++tr46map_data.c: $(srcdir)/gentr46map.c $(TR46MAP) $(NFCQC)
++ $(MAKE) gentr46map$(EXEEXT)
+ $(builddir)/gentr46map$(EXEEXT) > $@.new
+ mv $@.new $@
+
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -34,7 +34,7 @@
+ dist_man_MANS = idn2.1 $(gdoc_MANS)
+ CLEANFILES = $(dist_man_MANS) lookup.c register.c stamp-vti version.texi $(srcdir)/libidn2.info
+
+-idn2.1: $(top_srcdir)/src/idn2.c $(top_srcdir)/src/idn2.ggo $(top_srcdir)/configure.ac
++idn2.1: $(top_srcdir)/src/idn2.c $(top_srcdir)/src/idn2.ggo
+ $(HELP2MAN) \
+ --name="Libidn2 Internationalized Domain Names (IDNA2008/TR46) conversion" \
+ --output=$@ \
diff --git a/net-dns/libidn2/libidn2-0.16-r1.ebuild b/net-dns/libidn2/libidn2-0.16-r1.ebuild
index a3e7f5ac34d..b112877f410 100644
--- a/net-dns/libidn2/libidn2-0.16-r1.ebuild
+++ b/net-dns/libidn2/libidn2-0.16-r1.ebuild
@@ -28,6 +28,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.12-Werror.patch
"${FILESDIR}"/${PN}-0.12-examples.patch
"${FILESDIR}"/${PN}-0.16-gengetopt.patch
+ "${FILESDIR}"/${PN}-0.16-cross.patch
"${FILESDIR}"/${PN}-pkgconfig.diff
)
next reply other threads:[~2017-03-14 19:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 19:54 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-10-23 18:28 [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn2/, net-dns/libidn2/files/ Jeroen Roovers
2017-03-14 6:34 Jeroen Roovers
2017-01-20 5:54 Jeroen Roovers
2017-01-20 5:54 Jeroen Roovers
2016-12-30 23:47 Jeroen Roovers
2016-12-30 14:30 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489521097.93aa5321b95cd8d36c100135a4394d7682fc41ad.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox