summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-05 16:17:22 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-05 16:17:22 +0000
commit07c9631bd78961f45132ec939aa9c8b5dc67bac7 (patch)
treef82b82f805bdd8772a4b03faa998b21cb01fec8a /sys-libs/zlib/files
parentallow mysqli #125062 (diff)
downloadhistorical-07c9631bd78961f45132ec939aa9c8b5dc67bac7.tar.gz
historical-07c9631bd78961f45132ec939aa9c8b5dc67bac7.tar.bz2
historical-07c9631bd78961f45132ec939aa9c8b5dc67bac7.zip
touchup syntax #124559
Package-Manager: portage-2.1_pre5-r3
Diffstat (limited to 'sys-libs/zlib/files')
-rw-r--r--sys-libs/zlib/files/zlib-1.2.1-fPIC.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch b/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch
index a9be0c1b042d..3a38ad924340 100644
--- a/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch
+++ b/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch
@@ -1,5 +1,5 @@
---- zlib-1.2.1.old/configure 2004-08-28 08:19:49.000000000 -0400
-+++ zlib-1.2.1/configure 2004-08-28 08:33:57.745864064 -0400
+--- zlib-1.2.1/configure
++++ zlib-1.2.1/configure
@@ -73,7 +73,11 @@
if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
@@ -9,7 +9,7 @@
+ # the above is horribly wrong on a few archs where -fPIC should ALWAYS be
+ # used in the creation of shared libraries. without the following, the
+ # shared lib test will sometimes fail even when shared libs -can- be created.
-+ SFLAGS="${CFLAGS-"-O3"} -fPIC"
++ SFLAGS=${CFLAGS-"-O3"} -fPIC
CFLAGS="$cflags"
case `(uname -s || echo unknown) 2>/dev/null` in
Linux | linux | GNU | GNU/*)