diff options
-rw-r--r-- | dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch | 13 | ||||
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.10.2.ebuild | 5 |
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 |