dev-libs/link-grammar: remove #include <fpu_control.h>

Closes: https://bugs.gentoo.org/717404
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2022-01-22 19:35:51 +01:00
parent 41d5d8b410
commit ef3f9998e2
2 changed files with 17 additions and 1 deletions

View File

@@ -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"
//-------------------------------------------------------------------------------------------------

View File

@@ -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