Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 431004 Details for
Bug 580362
app-arch/pax: fix build on musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pax-20160306 ebuild patch
fix-pax.patch (text/plain), 1.15 KB, created by
A. Wilcox (awilfox)
on 2016-04-17 18:11:06 UTC
(
hide
)
Description:
pax-20160306 ebuild patch
Filename:
MIME Type:
Creator:
A. Wilcox (awilfox)
Created:
2016-04-17 18:11:06 UTC
Size:
1.15 KB
patch
obsolete
>--- pax-20160306.ebuild.old 2016-03-07 02:06:56.000000000 -0600 >+++ pax-20160306.ebuild 2016-04-17 13:05:30.009006694 -0500 >@@ -2,9 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >-EAPI="5" >+EAPI="6" > >-inherit unpacker toolchain-funcs >+inherit unpacker toolchain-funcs flag-o-matic > > DESCRIPTION="pax (Portable Archive eXchange) is the POSIX standard archive tool" > HOMEPAGE="https://www.mirbsd.org/pax.htm" >@@ -15,15 +15,19 @@ > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" > IUSE="" > >-RDEPEND="dev-libs/libbsd" >+RDEPEND="dev-libs/libbsd >+ elibc_musl? ( sys-libs/fts-standalone )" > DEPEND="${RDEPEND} > $(unpacker_src_uri_depends)" > > S=${WORKDIR}/${PN} > >+PATCHES=( "${FILESDIR}/${P}-glibc-to-linux.patch" ) >+ > src_prepare() { > # Newer C libraries omit this include from sys/types.h. > sed -i '1i#include <sys/sysmacros.h>' extern.h || die >+ default > } > > src_configure() { >@@ -31,6 +35,8 @@ > } > > src_compile() { >+ use elibc_musl && append-ldflags "-lfts" >+ > # We can't rely on LFS flags as it uses the fts.h interface which lacks 64-bit support. > set -- \ > ${CC} ${CPPFLAGS} ${CFLAGS} \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 580362
: 431004 |
431006
|
431016