diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-02-19 21:34:06 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-02-19 21:54:33 +0100 |
commit | 54392f0b0b647c60400cb91b124a103162bf2f2b (patch) | |
tree | 964f3ef4740bef90de4883889a8d8ff6a2fa8fb0 /sci-mathematics | |
parent | dev-lang/fuzion: drop old 0.085-r1 (diff) | |
download | gentoo-54392f0b0b647c60400cb91b124a103162bf2f2b.tar.gz gentoo-54392f0b0b647c60400cb91b124a103162bf2f2b.tar.bz2 gentoo-54392f0b0b647c60400cb91b124a103162bf2f2b.zip |
sci-mathematics/eprover: fix build on musl
Closes: https://bugs.gentoo.org/889682
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/eprover/eprover-3.0.03.ebuild | 2 | ||||
-rw-r--r-- | sci-mathematics/eprover/files/eprover-3.0.03-unistd.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/eprover/eprover-3.0.03.ebuild b/sci-mathematics/eprover/eprover-3.0.03.ebuild index ef6b9196aa7d..d503a85c9f4d 100644 --- a/sci-mathematics/eprover/eprover-3.0.03.ebuild +++ b/sci-mathematics/eprover/eprover-3.0.03.ebuild @@ -29,6 +29,8 @@ BDEPEND=" sys-apps/help2man " +PATCHES=( "${FILESDIR}/${PN}-3.0.03-unistd.patch" ) + src_prepare() { default diff --git a/sci-mathematics/eprover/files/eprover-3.0.03-unistd.patch b/sci-mathematics/eprover/files/eprover-3.0.03-unistd.patch new file mode 100644 index 000000000000..4e65450e9192 --- /dev/null +++ b/sci-mathematics/eprover/files/eprover-3.0.03-unistd.patch @@ -0,0 +1,11 @@ +--- a/./CONTRIB/picosat-965/picosat.c ++++ b/./CONTRIB/picosat-965/picosat.c +@@ -8147,7 +8147,7 @@ picosat_stats (PS * ps) + #ifndef NGETRUSAGE + #include <sys/time.h> + #include <sys/resource.h> +-#include <sys/unistd.h> ++#include <unistd.h> + #endif + + double |