summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-01-22 19:35:51 +0100
committerDavid Seifert <soap@gentoo.org>2022-01-22 19:35:51 +0100
commitef3f9998e23f18f261fa67f425e9da1d12c718e6 (patch)
tree7b5276081507fbd9253f6a5aa8f281c119bb1424 /dev-libs/link-grammar
parentgnome-extra/nm-applet: fix build with meson-0.61 (diff)
downloadgentoo-ef3f9998e23f18f261fa67f425e9da1d12c718e6.tar.gz
gentoo-ef3f9998e23f18f261fa67f425e9da1d12c718e6.tar.bz2
gentoo-ef3f9998e23f18f261fa67f425e9da1d12c718e6.zip
dev-libs/link-grammar: remove #include <fpu_control.h>
Closes: https://bugs.gentoo.org/717404 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/link-grammar')
-rw-r--r--dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch13
-rw-r--r--dev-libs/link-grammar/link-grammar-5.10.2.ebuild5
2 files changed, 17 insertions, 1 deletions
diff --git a/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch b/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch
new file mode 100644
index 000000000000..8015e3ceb1e4
--- /dev/null
+++ b/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch
@@ -0,0 +1,13 @@
+--- a/link-grammar/minisat/minisat/utils/System.h
++++ b/link-grammar/minisat/minisat/utils/System.h
+@@ -21,10 +21,6 @@
+ #ifndef Minisat_System_h
+ #define Minisat_System_h
+
+-#if defined(__linux__)
+-#include <fpu_control.h>
+-#endif
+-
+ #include "minisat/mtl/IntTypes.h"
+
+ //-------------------------------------------------------------------------------------------------
diff --git a/dev-libs/link-grammar/link-grammar-5.10.2.ebuild b/dev-libs/link-grammar/link-grammar-5.10.2.ebuild
index 9cd72d301f29..16ede02d89b8 100644
--- a/dev-libs/link-grammar/link-grammar-5.10.2.ebuild
+++ b/dev-libs/link-grammar/link-grammar-5.10.2.ebuild
@@ -32,7 +32,10 @@ BDEPEND="
sys-devel/autoconf-archive
virtual/pkgconfig"
-PATCHES=( "${FILESDIR}"/${PN}-5.8.1-lld.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.8.1-lld.patch
+ "${FILESDIR}"/${P}-musl.patch
+)
pkg_setup() {
if use aspell && use hunspell; then