summaryrefslogtreecommitdiff
path: root/packages/zlib/zlib-1.2.3/sane-target.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2006-08-07 21:04:36 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2006-08-07 21:04:36 +0000
commit1cb8bf5179e4c38c0eb09dcf7ea0309fbfad195e (patch)
tree6a31e8b2ac236f79e35f4197f23ba629ce6a3ad4 /packages/zlib/zlib-1.2.3/sane-target.patch
parent288ecbe2bc5aab2daebd615cda1d6a25632b7227 (diff)
zlib-1.2.3: -made zlib uses autotools, that introduced autotools.patch and
make libtool_staging.patch and sane-target.patch obsolete -adding myself as maintainer after talked with kergoth -simplify zlib_1.2.3.bb
Diffstat (limited to 'packages/zlib/zlib-1.2.3/sane-target.patch')
-rw-r--r--packages/zlib/zlib-1.2.3/sane-target.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/packages/zlib/zlib-1.2.3/sane-target.patch b/packages/zlib/zlib-1.2.3/sane-target.patch
deleted file mode 100644
index bacdd031af..0000000000
--- a/packages/zlib/zlib-1.2.3/sane-target.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Index: zlib-1.2.3/configure
-===================================================================
---- zlib-1.2.3.orig/configure 2005-07-11 22:11:57.000000000 +0200
-+++ zlib-1.2.3/configure 2006-08-06 20:22:47.000000000 +0200
-@@ -35,6 +35,7 @@
- gcc=0
- old_cc="$CC"
- old_cflags="$CFLAGS"
-+target=`(uname -s || echo unknown) 2>/dev/null`
-
- while test $# -ge 1
- do
-@@ -42,7 +43,7 @@
- -h* | --h*)
- echo 'usage:'
- echo ' configure [--shared] [--prefix=PREFIX] [--exec_prefix=EXPREFIX]'
-- echo ' [--libdir=LIBDIR] [--includedir=INCLUDEDIR]'
-+ echo ' [--libdir=LIBDIR] [--includedir=INCLUDEDIR] [--target=TARGET]'
- exit 0;;
- -p*=* | --p*=*) prefix=`echo $1 | sed 's/[-a-z_]*=//'`; shift;;
- -e*=* | --e*=*) exec_prefix=`echo $1 | sed 's/[-a-z_]*=//'`; shift;;
-@@ -53,6 +54,7 @@
- -l* | --l*) libdir="$2"; shift; shift;;
- -i* | --i*) includedir="$2"; shift; shift;;
- -s* | --s*) shared=1; shift;;
-+ --target=*) target=`echo $1 | sed 's/[-a-z_]*=//'`;shift;;
- *) echo "unknown option: $1"; echo "$0 --help for help"; exit 1;;
- esac
- done
-@@ -75,7 +77,7 @@
- CC="$cc"
- SFLAGS=${CFLAGS-"-fPIC -O3"}
- CFLAGS="$cflags"
-- case `(uname -s || echo unknown) 2>/dev/null` in
-+ case $target in
- Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};;
- CYGWIN* | Cygwin* | cygwin* | OS/2* )
- EXE='.exe';;