Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-lib/
Date: Thu, 01 Mar 2018 15:09:59
Message-Id: 1519916979.a8de88dab3a6f39398762aa2e71c165e7bd9521b.mgorny@gentoo
1 commit: a8de88dab3a6f39398762aa2e71c165e7bd9521b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 14:33:48 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 15:09:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8de88da
7
8 sys-freebsd/freebsd-lib: Apply sys header fix only for USE=build
9
10 The 'sys' directory is not extracted with USE=-build, so apply the patch
11 only when there's something to patch. Not that I have any clue how
12 this is going to work at all with USE=-build.
13
14 sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild
18 index e28f2420c1f..6e8b27343dc 100644
19 --- a/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild
20 +++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild
21 @@ -174,7 +174,6 @@ src_prepare() {
22 # patches "${WORKDIR}/include"
23 cd "${WORKDIR}"
24 epatch "${FILESDIR}/${PN}-includes.patch"
25 - epatch "${FILESDIR}/${PN}-11.1-elf-nhdr.patch"
26
27 # Don't install the hesiod man page or header
28 rm "${WORKDIR}"/include/hesiod.h || die
29 @@ -221,6 +220,7 @@ src_prepare() {
30 # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it
31 # shouldn't be a symlink to /usr/src/sys (which should be already patched)
32 epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch
33 + epatch "${FILESDIR}/${PN}-11.1-elf-nhdr.patch"
34 return 0
35 fi