summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-12-24 16:42:35 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-12-24 16:42:35 +0000
commita864e26922f45315b1d723fed369142711d8e62c (patch)
treef44d76b7fb5fd8fae0b4cdf272f04afbb4957263 /sci-libs
parentdev-python/nh3: Stabilize 0.2.15 ppc, #920602 (diff)
downloadgentoo-a864e26922f45315b1d723fed369142711d8e62c.tar.gz
gentoo-a864e26922f45315b1d723fed369142711d8e62c.tar.bz2
gentoo-a864e26922f45315b1d723fed369142711d8e62c.zip
sci-libs/kissfft: Fix cross-compiling with patch
Submitted upstream but sadly upstream looks a bit dead. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/kissfft/kissfft-131.1.0.ebuild4
-rw-r--r--sci-libs/kissfft/kissfft-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 8cd5a54a6850..a06cd743a6c7 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -32,6 +32,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+)
+
python_check_deps() {
python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
index 9bd7014dd1fb..238fe43ab8ee 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -32,6 +32,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+)
+
python_check_deps() {
python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}