Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pax/, app-arch/pax/files/
Date: Sat, 27 Feb 2016 18:55:32
Message-Id: 1456599283.d20b3532fd462cf2c5e46f02fe71fa03610dc2e6.vapier@gentoo
1 commit: d20b3532fd462cf2c5e46f02fe71fa03610dc2e6
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 18:54:09 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 18:54:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d20b3532
7
8 app-arch/pax: fix building w/newer glibc
9
10 app-arch/pax/files/pax-3.4-sysmacros.patch | 12 ++++++++++++
11 app-arch/pax/pax-3.4.12.16-r1.ebuild | 1 +
12 app-arch/pax/pax-3.4.12.16.ebuild | 1 +
13 3 files changed, 14 insertions(+)
14
15 diff --git a/app-arch/pax/files/pax-3.4-sysmacros.patch b/app-arch/pax/files/pax-3.4-sysmacros.patch
16 new file mode 100644
17 index 0000000..3aede97
18 --- /dev/null
19 +++ b/app-arch/pax/files/pax-3.4-sysmacros.patch
20 @@ -0,0 +1,12 @@
21 +not all C libs pull in this header via sys/types.h for major()/etc...
22 +
23 +--- a/src/extern.h
24 ++++ b/src/extern.h
25 +@@ -38,6 +38,7 @@
26 + */
27 +
28 + #include <sys/cdefs.h>
29 ++#include <sys/sysmacros.h>
30 +
31 + /*
32 + * ar_io.c
33
34 diff --git a/app-arch/pax/pax-3.4.12.16-r1.ebuild b/app-arch/pax/pax-3.4.12.16-r1.ebuild
35 index 0e8133f..a14e869 100644
36 --- a/app-arch/pax/pax-3.4.12.16-r1.ebuild
37 +++ b/app-arch/pax/pax-3.4.12.16-r1.ebuild
38 @@ -26,6 +26,7 @@ src_prepare() {
39 rpm_spec_epatch ../${PN}.spec
40 epatch "${FILESDIR}"/pax-3.4-x32.patch
41 epatch "${FILESDIR}"/pax-3.4-fix-fts-includes.patch
42 + epatch "${FILESDIR}"/pax-3.4-sysmacros.patch
43 sed -i configure.in \
44 -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
45 -e '/AC_PROG_RANLIB/a AC_PROG_MKDIR_P' \
46
47 diff --git a/app-arch/pax/pax-3.4.12.16.ebuild b/app-arch/pax/pax-3.4.12.16.ebuild
48 index 973229e..8d485e6 100644
49 --- a/app-arch/pax/pax-3.4.12.16.ebuild
50 +++ b/app-arch/pax/pax-3.4.12.16.ebuild
51 @@ -25,6 +25,7 @@ S=${WORKDIR}/${MY_P}
52 src_prepare() {
53 rpm_spec_epatch ../${PN}.spec
54 epatch "${FILESDIR}"/pax-3.4-x32.patch
55 + epatch "${FILESDIR}"/pax-3.4-sysmacros.patch
56 sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
57 eautoreconf
58 }