diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-01-09 16:38:21 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-01-09 16:38:21 +0000 |
commit | 93b2ed98ede57a10a9cbd67d499ed944b0eff6fd (patch) | |
tree | 97ba0c6390a333d60735a880579f5ca1784809bf /sys-freebsd | |
parent | Fix building with GCC 4.4+ wrt #278216. (diff) | |
download | gentoo-2-93b2ed98ede57a10a9cbd67d499ed944b0eff6fd.tar.gz gentoo-2-93b2ed98ede57a10a9cbd67d499ed944b0eff6fd.tar.bz2 gentoo-2-93b2ed98ede57a10a9cbd67d499ed944b0eff6fd.zip |
Fix build on sparc
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-libexec/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-libexec/files/freebsd-libexec-7.2-pic.patch | 13 | ||||
-rw-r--r-- | sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild | 7 |
3 files changed, 23 insertions, 5 deletions
diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog index 113ec65c7ce5..9a3d3fff7465 100644 --- a/sys-freebsd/freebsd-libexec/ChangeLog +++ b/sys-freebsd/freebsd-libexec/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-freebsd/freebsd-libexec -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.34 2009/12/05 09:48:09 aballier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.35 2010/01/09 16:38:20 aballier Exp $ + + 09 Jan 2010; Alexis Ballier <aballier@gentoo.org> + freebsd-libexec-7.2-r1.ebuild, +files/freebsd-libexec-7.2-pic.patch: + Fix build on sparc *freebsd-libexec-7.2-r1 (05 Dec 2009) diff --git a/sys-freebsd/freebsd-libexec/files/freebsd-libexec-7.2-pic.patch b/sys-freebsd/freebsd-libexec/files/freebsd-libexec-7.2-pic.patch new file mode 100644 index 000000000000..22d5658394dd --- /dev/null +++ b/sys-freebsd/freebsd-libexec/files/freebsd-libexec-7.2-pic.patch @@ -0,0 +1,13 @@ +Fails to build on sparc without using -fPIC + +--- libexec/rtld-elf/Makefile.old 2010-01-09 17:17:21 +0100 ++++ libexec/rtld-elf/Makefile 2010-01-09 17:17:33 +0100 +@@ -19,7 +19,7 @@ + MLINKS= rtld.1 ld-elf.so.1.1 \ + rtld.1 ld.so.1 + +-CFLAGS+= -fpic -DPIC ++CFLAGS+= -fPIC -DPIC + LDFLAGS+= -shared -Wl,-Bsymbolic + DPADD= ${LIBC_PIC} + LDADD= -lc_pic diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild index fab71ce68bd5..230af709d2e3 100644 --- a/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild +++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild,v 1.1 2009/12/05 09:48:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-7.2-r1.ebuild,v 1.2 2010/01/09 16:38:20 aballier Exp $ EAPI=2 @@ -31,7 +31,8 @@ S="${WORKDIR}/libexec" PATCHES=( "${FILESDIR}/${PN}-setXid.patch" "${FILESDIR}/${PN}-nossp.patch" "${FILESDIR}/${PN}-7.0-libfallback.patch" - "${FILESDIR}/${P}-rtld7.patch" ) + "${FILESDIR}/${P}-rtld7.patch" + "${FILESDIR}/${P}-pic.patch" ) # Remove sendmail, tcp_wrapper and other useless stuff REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" |