diff options
author | Christoph Mende <angelos@gentoo.org> | 2007-07-15 13:13:16 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2007-07-15 13:13:16 +0000 |
commit | 1e4d93da4faf81be417ab90a8020f8e36c2e94dc (patch) | |
tree | 731d37d143ce5c8880aa175791fb93abc9dd7869 /dev-libs/libpcre | |
parent | alpha/ia64/x86 stable wrt security #183338 (diff) | |
download | gentoo-2-1e4d93da4faf81be417ab90a8020f8e36c2e94dc.tar.gz gentoo-2-1e4d93da4faf81be417ab90a8020f8e36c2e94dc.tar.bz2 gentoo-2-1e4d93da4faf81be417ab90a8020f8e36c2e94dc.zip |
Added -fPIC for shared libraries, thanks to Simon Cooper (Bug #182652)
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'dev-libs/libpcre')
-rw-r--r-- | dev-libs/libpcre/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libpcre/files/pcre-7.1-pic.patch | 26 | ||||
-rw-r--r-- | dev-libs/libpcre/libpcre-7.1.ebuild | 3 | ||||
-rw-r--r-- | dev-libs/libpcre/libpcre-7.2.ebuild | 3 |
4 files changed, 35 insertions, 3 deletions
diff --git a/dev-libs/libpcre/ChangeLog b/dev-libs/libpcre/ChangeLog index dba831681565..63b7a2474ddf 100644 --- a/dev-libs/libpcre/ChangeLog +++ b/dev-libs/libpcre/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libpcre # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.98 2007/07/05 20:40:23 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.99 2007/07/15 13:13:15 angelos Exp $ + + 15 Jul 2007; Christoph Mende <angelos@gentoo.org> + +files/pcre-7.1-pic.patch, libpcre-7.1.ebuild, libpcre-7.2.ebuild: + Added -fPIC for shared libraries, thanks to Simon Cooper (Bug #182652) 05 Jul 2007; Roy Marples <uberlord@gentoo.org> libpcre-7.2.ebuild: Keyworded ~sparc-fbsd, #181670. diff --git a/dev-libs/libpcre/files/pcre-7.1-pic.patch b/dev-libs/libpcre/files/pcre-7.1-pic.patch new file mode 100644 index 000000000000..3e1e3136592b --- /dev/null +++ b/dev-libs/libpcre/files/pcre-7.1-pic.patch @@ -0,0 +1,26 @@ +--- pcre-7.1/Makefile.am.old 2007-04-18 10:07:56.000000000 +0100 ++++ pcre-7.1/Makefile.am 2007-06-20 10:49:01.932157547 +0100 +@@ -194,6 +194,7 @@ + # pcre_chartables.c, used unless --enable-rebuild-chartables is specified. + EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist + ++libpcre_la_CFLAGS = -fPIC -DPIC + libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS) + + CLEANFILES += pcre_chartables.c +@@ -202,6 +203,7 @@ + lib_LTLIBRARIES += libpcreposix.la + libpcreposix_la_SOURCES = \ + pcreposix.c ++libpcreposix_la_CFLAGS = -fPIC -DPIC + libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS) + libpcreposix_la_LIBADD = libpcre.la + +@@ -213,6 +215,7 @@ + pcrecpp.cc \ + pcre_scanner.cc \ + pcre_stringpiece.cc ++libpcrecpp_la_CXXCLAGS = -fPIC -DPIC + libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS) + libpcrecpp_la_LIBADD = libpcre.la + diff --git a/dev-libs/libpcre/libpcre-7.1.ebuild b/dev-libs/libpcre/libpcre-7.1.ebuild index f25b509a0ac1..13918bbeaa50 100644 --- a/dev-libs/libpcre/libpcre-7.1.ebuild +++ b/dev-libs/libpcre/libpcre-7.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.1.ebuild,v 1.8 2007/06/16 10:58:06 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.1.ebuild,v 1.9 2007/07/15 13:13:15 angelos Exp $ inherit libtool eutils @@ -23,6 +23,7 @@ S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}/pcre-7.1-pic.patch" epatch "${FILESDIR}/pcre-6.3-uclibc-tuple.patch" elibtoolize } diff --git a/dev-libs/libpcre/libpcre-7.2.ebuild b/dev-libs/libpcre/libpcre-7.2.ebuild index a574759b7209..88c33cb994df 100644 --- a/dev-libs/libpcre/libpcre-7.2.ebuild +++ b/dev-libs/libpcre/libpcre-7.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.2.ebuild,v 1.3 2007/07/05 20:40:23 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.2.ebuild,v 1.4 2007/07/15 13:13:15 angelos Exp $ inherit libtool eutils @@ -23,6 +23,7 @@ S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}/pcre-7.1-pic.patch" epatch "${FILESDIR}/pcre-6.3-uclibc-tuple.patch" elibtoolize } |