summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-19 01:05:50 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-19 01:06:22 +0100
commit1ad120293816143c45ce5bc79cfbf83c6271c09d (patch)
tree6494d162b5bb8a0caf78270f7e6c79712973d9e8
parentmedia-sound/xmms2: backport c23 fixes for gcc15 (diff)
downloadgentoo-1ad120293816143c45ce5bc79cfbf83c6271c09d.tar.gz
gentoo-1ad120293816143c45ce5bc79cfbf83c6271c09d.tar.bz2
gentoo-1ad120293816143c45ce5bc79cfbf83c6271c09d.zip
x11-misc/macopix: fix implicit function declarations in configure
Closes: https://bugs.gentoo.org/898248 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--x11-misc/macopix/files/macopix-3.4.0-_exit.patch11
-rw-r--r--x11-misc/macopix/macopix-3.4.0-r1.ebuild (renamed from x11-misc/macopix/macopix-3.4.0.ebuild)3
2 files changed, 13 insertions, 1 deletions
diff --git a/x11-misc/macopix/files/macopix-3.4.0-_exit.patch b/x11-misc/macopix/files/macopix-3.4.0-_exit.patch
new file mode 100644
index 000000000000..be00b9c2b6a8
--- /dev/null
+++ b/x11-misc/macopix/files/macopix-3.4.0-_exit.patch
@@ -0,0 +1,11 @@
+diff '--color=auto' -ruN macopix-3.4.0.orig/m4/intdiv0.m4 macopix-3.4.0/m4/intdiv0.m4
+--- macopix-3.4.0.orig/m4/intdiv0.m4 2019-12-26 03:40:38.000000000 +0100
++++ macopix-3.4.0/m4/intdiv0.m4 2024-11-19 01:03:00.472977096 +0100
+@@ -32,6 +32,7 @@
+ AC_RUN_IFELSE(
+ [AC_LANG_SOURCE([[
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <signal.h>
+
+ static void
diff --git a/x11-misc/macopix/macopix-3.4.0.ebuild b/x11-misc/macopix/macopix-3.4.0-r1.ebuild
index 9cb1ba4dbce9..f04b437de99a 100644
--- a/x11-misc/macopix/macopix-3.4.0.ebuild
+++ b/x11-misc/macopix/macopix-3.4.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
@@ -55,6 +55,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.4.0-fno-common.patch
"${FILESDIR}"/${PN}-3.4.0-windres.patch
"${FILESDIR}"/${PN}-3.4.0-openssl-1.1.0.patch
+ "${FILESDIR}"/${PN}-3.4.0-_exit.patch
)
src_prepare() {