Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459434 Details for
Bug 470884
dev-libs/elfutils: build fails on uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
elfutils-0.166.ebuild.patch
elfutils-0.166.ebuild.patch (text/plain), 1.97 KB, created by
René Rhéaume
on 2017-01-10 02:36:17 UTC
(
hide
)
Description:
elfutils-0.166.ebuild.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2017-01-10 02:36:17 UTC
Size:
1.97 KB
patch
obsolete
>--- /usr/portage/dev-libs/elfutils/elfutils-0.166.ebuild 2016-07-06 05:04:35.000000000 -0400 >+++ /usr/local/portage/dev-libs/elfutils/elfutils-0.166.ebuild 2017-01-09 21:32:49.000000000 -0500 >@@ -4,7 +4,7 @@ > > EAPI="5" > >-inherit eutils flag-o-matic multilib-minimal >+inherit eutils flag-o-matic multilib-minimal autotools > > DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" > HOMEPAGE="https://fedorahosted.org/elfutils/" >@@ -25,20 +25,28 @@ > abi_x86_32? ( > !<=app-emulation/emul-linux-x86-baselibs-20130224-r11 > !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] >- )" >+ ) >+ elibc_uclibc? ( sys-libs/argp-standalone dev-libs/libintl )" > # We need to require a newer glibc for its elf.h defs. #571814 > DEPEND="${RDEPEND} > !<sys-libs/glibc-2.22 > nls? ( sys-devel/gettext ) > >=sys-devel/flex-2.5.4a >- sys-devel/m4" >+ sys-devel/m4 >+ test? ( app-arch/bzip2 )" > > src_prepare() { >+ epatch "${FILESDIR}"/0001-libelf-elf_begin.c-fall-back-on-mempcpy-if-no-__memp.patch >+ epatch "${FILESDIR}"/0006-Remove-DL_CALL_FCT-wrapper-which-is-used-in-profilin.patch > epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch >+ epatch "${FILESDIR}"/elfutils-0.166-check-libc-dgettext.patch >+ epatch "${FILESDIR}"/elfutils-0.166-utimes-fallback.patch >+ epatch "${FILESDIR}"/elfutils-0.166-really-make-werror-conditional-to-build-werror.patch >+ epatch "${FILESDIR}"/elfutils-0.166-asprintf-insteadof-obstack_printf.patch >+ > use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in > sed -i 's:-Werror::' */Makefile.in >- # some patches touch both configure and configure.ac >- find -type f -exec touch -r configure {} + >+ eautoreconf > } > > src_configure() { >@@ -47,8 +55,11 @@ > } > > multilib_src_configure() { >+ my_use_nls=$(use_enable nls) >+ use elibc_uclibc && my_use_nls=--enable-nls >+ > ECONF_SOURCE="${S}" econf \ >- $(use_enable nls) \ >+ ${my_use_nls} \ > $(use_enable threads thread-safety) \ > --program-prefix="eu-" \ > --with-zlib \
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 470884
:
348828
|
348830
|
348832
|
348908
|
349604
|
349608
|
350476
|
350478
|
350480
|
350482
|
350484
|
350486
|
376194
|
376196
|
376198
|
459426
|
459428
|
459430
|
459432
| 459434