From d20b3532fd462cf2c5e46f02fe71fa03610dc2e6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 27 Feb 2016 13:54:09 -0500 Subject: app-arch/pax: fix building w/newer glibc --- app-arch/pax/files/pax-3.4-sysmacros.patch | 12 ++++++++++++ app-arch/pax/pax-3.4.12.16-r1.ebuild | 1 + app-arch/pax/pax-3.4.12.16.ebuild | 1 + 3 files changed, 14 insertions(+) create mode 100644 app-arch/pax/files/pax-3.4-sysmacros.patch (limited to 'app-arch/pax') diff --git a/app-arch/pax/files/pax-3.4-sysmacros.patch b/app-arch/pax/files/pax-3.4-sysmacros.patch new file mode 100644 index 000000000000..3aede97ec06f --- /dev/null +++ b/app-arch/pax/files/pax-3.4-sysmacros.patch @@ -0,0 +1,12 @@ +not all C libs pull in this header via sys/types.h for major()/etc... + +--- a/src/extern.h ++++ b/src/extern.h +@@ -38,6 +38,7 @@ + */ + + #include ++#include + + /* + * ar_io.c diff --git a/app-arch/pax/pax-3.4.12.16-r1.ebuild b/app-arch/pax/pax-3.4.12.16-r1.ebuild index 0e8133ff3ffc..a14e869a02b6 100644 --- a/app-arch/pax/pax-3.4.12.16-r1.ebuild +++ b/app-arch/pax/pax-3.4.12.16-r1.ebuild @@ -26,6 +26,7 @@ src_prepare() { rpm_spec_epatch ../${PN}.spec epatch "${FILESDIR}"/pax-3.4-x32.patch epatch "${FILESDIR}"/pax-3.4-fix-fts-includes.patch + epatch "${FILESDIR}"/pax-3.4-sysmacros.patch sed -i configure.in \ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ -e '/AC_PROG_RANLIB/a AC_PROG_MKDIR_P' \ diff --git a/app-arch/pax/pax-3.4.12.16.ebuild b/app-arch/pax/pax-3.4.12.16.ebuild index 973229e65c8c..8d485e6dc3e7 100644 --- a/app-arch/pax/pax-3.4.12.16.ebuild +++ b/app-arch/pax/pax-3.4.12.16.ebuild @@ -25,6 +25,7 @@ S=${WORKDIR}/${MY_P} src_prepare() { rpm_spec_epatch ../${PN}.spec epatch "${FILESDIR}"/pax-3.4-x32.patch + epatch "${FILESDIR}"/pax-3.4-sysmacros.patch sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die eautoreconf } -- cgit v1.2.3