commit: 54392f0b0b647c60400cb91b124a103162bf2f2b Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Feb 19 20:34:06 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Feb 19 20:54:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54392f0b
sci-mathematics/eprover: fix build on musl Closes: https://bugs.gentoo.org/889682 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> sci-mathematics/eprover/eprover-3.0.03.ebuild | 2 ++ sci-mathematics/eprover/files/eprover-3.0.03-unistd.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) 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