summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-07 14:05:18 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-07 14:05:27 -0500
commitb7d42b062eeeeeac45e00d2186f3b2c6acc4b784 (patch)
treeb113c3d281ae32e8dc74f1393c064edc45e3b6b9 /sys-apps/sysvinit
parentdev-lang/python-exec: Bump to 2.4.3 with test fixes (diff)
downloadgentoo-b7d42b062eeeeeac45e00d2186f3b2c6acc4b784.tar.gz
gentoo-b7d42b062eeeeeac45e00d2186f3b2c6acc4b784.tar.bz2
gentoo-b7d42b062eeeeeac45e00d2186f3b2c6acc4b784.zip
sys-apps/sysvinit: fix building w/newer glibc
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r--sys-apps/sysvinit/files/sysvinit-2.88-sysmacros.patch12
-rw-r--r--sys-apps/sysvinit/sysvinit-2.88-r9.ebuild1
2 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/files/sysvinit-2.88-sysmacros.patch b/sys-apps/sysvinit/files/sysvinit-2.88-sysmacros.patch
new file mode 100644
index 000000000000..efbe47a30be2
--- /dev/null
+++ b/sys-apps/sysvinit/files/sysvinit-2.88-sysmacros.patch
@@ -0,0 +1,12 @@
+Newer C libraries omit this include from sys/types.h.
+
+--- a/src/bootlogd.c
++++ b/src/bootlogd.c
+@@ -32,6 +32,7 @@
+ *
+ */
+
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/stat.h>
diff --git a/sys-apps/sysvinit/sysvinit-2.88-r9.ebuild b/sys-apps/sysvinit/sysvinit-2.88-r9.ebuild
index a6b30a3ee304..d2bad7b80d45 100644
--- a/sys-apps/sysvinit/sysvinit-2.88-r9.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.88-r9.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}/${P}-makefile.patch" #319197
"${FILESDIR}/${P}-selinux.patch" #326697
"${FILESDIR}/${P}-shutdown-h.patch" #449354
+ "${FILESDIR}/${PN}-2.88-sysmacros.patch"
)
src_prepare() {