1 |
commit: ef3f9998e23f18f261fa67f425e9da1d12c718e6 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 22 18:35:51 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 22 18:35:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3f9998 |
7 |
|
8 |
dev-libs/link-grammar: remove #include <fpu_control.h> |
9 |
|
10 |
Closes: https://bugs.gentoo.org/717404 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch | 13 +++++++++++++ |
14 |
dev-libs/link-grammar/link-grammar-5.10.2.ebuild | 5 ++++- |
15 |
2 files changed, 17 insertions(+), 1 deletion(-) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 000000000000..8015e3ceb1e4 |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch |
22 |
@@ -0,0 +1,13 @@ |
23 |
+--- a/link-grammar/minisat/minisat/utils/System.h |
24 |
++++ b/link-grammar/minisat/minisat/utils/System.h |
25 |
+@@ -21,10 +21,6 @@ |
26 |
+ #ifndef Minisat_System_h |
27 |
+ #define Minisat_System_h |
28 |
+ |
29 |
+-#if defined(__linux__) |
30 |
+-#include <fpu_control.h> |
31 |
+-#endif |
32 |
+- |
33 |
+ #include "minisat/mtl/IntTypes.h" |
34 |
+ |
35 |
+ //------------------------------------------------------------------------------------------------- |
36 |
|
37 |
diff --git a/dev-libs/link-grammar/link-grammar-5.10.2.ebuild b/dev-libs/link-grammar/link-grammar-5.10.2.ebuild |
38 |
index 9cd72d301f29..16ede02d89b8 100644 |
39 |
--- a/dev-libs/link-grammar/link-grammar-5.10.2.ebuild |
40 |
+++ b/dev-libs/link-grammar/link-grammar-5.10.2.ebuild |
41 |
@@ -32,7 +32,10 @@ BDEPEND=" |
42 |
sys-devel/autoconf-archive |
43 |
virtual/pkgconfig" |
44 |
|
45 |
-PATCHES=( "${FILESDIR}"/${PN}-5.8.1-lld.patch ) |
46 |
+PATCHES=( |
47 |
+ "${FILESDIR}"/${PN}-5.8.1-lld.patch |
48 |
+ "${FILESDIR}"/${P}-musl.patch |
49 |
+) |
50 |
|
51 |
pkg_setup() { |
52 |
if use aspell && use hunspell; then |