From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ukkonen/, dev-python/ukkonen/files/
Date: Sun, 12 Dec 2021 08:48:58 +0000 (UTC) [thread overview]
Message-ID: <1639298929.24da026ada8e90c3800ee7ac9ddb38313d395dc4.sam@gentoo> (raw)
commit: 24da026ada8e90c3800ee7ac9ddb38313d395dc4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 12 08:41:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 12 08:48:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24da026a
dev-python/ukkonen: fix build on musl
Closes: https://bugs.gentoo.org/828871
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch | 15 +++++++++++++++
dev-python/ukkonen/ukkonen-1.0.1.ebuild | 6 +++++-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch b/dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch
new file mode 100644
index 000000000000..0be1be4adefd
--- /dev/null
+++ b/dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/828871
+https://github.com/asottile/ukkonen/commit/1b2aa2833b08e00279ff77612e82dad152eb3c14.patch
+
+From: Joonas Niilola <juippis@gentoo.org>
+Date: Sat, 11 Dec 2021 10:39:16 +0200
+Subject: [PATCH] _ukkonen.cpp: add #include <cstdint>
+
+--- a/_ukkonen.cpp
++++ b/_ukkonen.cpp
+@@ -1,4 +1,5 @@
+ #include <algorithm>
++#include <cstdint>
+ #include <vector>
+
+ template <typename T> int64_t edit_distance_k_impl(
diff --git a/dev-python/ukkonen/ukkonen-1.0.1.ebuild b/dev-python/ukkonen/ukkonen-1.0.1.ebuild
index a4cc21241192..bd7bbdbacc80 100644
--- a/dev-python/ukkonen/ukkonen-1.0.1.ebuild
+++ b/dev-python/ukkonen/ukkonen-1.0.1.ebuild
@@ -22,6 +22,10 @@ RDEPEND="
$(python_gen_cond_dep '
dev-python/cffi[${PYTHON_USEDEP}]
' 'python*')"
-BDEPEND=${RDEPEND}
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-musl-include.patch
+)
distutils_enable_tests pytest
reply other threads:[~2021-12-12 8:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1639298929.24da026ada8e90c3800ee7ac9ddb38313d395dc4.sam@gentoo \
--to=sam@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