- Timestamp:
- Jul 11, 2009, 7:02:08 PM (15 years ago)
- Branches:
- master
- Children:
- 312a670
- Parents:
- 7c627cb
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/zlib-1.2.3-fPIC-2.patch
r7c627cb recd7387 1 Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org> 2 Date: 2005-06-14 1 Submitted By: Jim Gifford <jim at cross-lfs dot org> 2 Originally Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org> 3 Date: 2009-05-7 3 4 Initial Package Version: 1.2.2 4 5 Origin: Gentoo ebuild? … … 14 15 Remove the --shared if you don't want the shared lib. 15 16 16 diff -Naur zlib-1.2.2.orig/configure zlib-1.2.2/configure 17 --- zlib-1.2.2.orig/configure 2004-09-07 00:50:06.000000000 -0500 18 +++ zlib-1.2.2/configure 2005-02-05 01:34:08.553292416 -0600 17 diff -Naur zlib-1.2.3.orig/configure zlib-1.2.3/configure 18 --- zlib-1.2.3.orig/configure 2005-07-11 13:11:57.000000000 -0700 19 +++ zlib-1.2.3/configure 2009-05-07 12:09:31.000000000 -0700 20 @@ -23,7 +23,7 @@ 21 VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h` 22 VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h` 23 VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h` 24 -AR=${AR-"ar rc"} 25 +AR=${AR-"ar"} 26 RANLIB=${RANLIB-"ranlib"} 27 prefix=${prefix-/usr/local} 28 exec_prefix=${exec_prefix-'${prefix}'} 19 29 @@ -73,7 +73,11 @@ 20 30 … … 30 40 case `(uname -s || echo unknown) 2>/dev/null` in 31 41 Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};; 32 @@ -1 58,7 +162,7 @@42 @@ -174,7 +178,7 @@ 33 43 if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" && 34 44 test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then … … 39 49 elif test -z "$old_cc" -a -z "$old_cflags"; then 40 50 echo No shared library support. 41 diff -Naur zlib-1.2. 2.orig/Makefile.in zlib-1.2.2/Makefile.in42 --- zlib-1.2. 2.orig/Makefile.in 2004-09-15 09:27:20.000000000 -050043 +++ zlib-1.2. 2/Makefile.in 2005-02-05 01:33:49.703158072 -060051 diff -Naur zlib-1.2.3.orig/Makefile.in zlib-1.2.3/Makefile.in 52 --- zlib-1.2.3.orig/Makefile.in 2005-07-17 19:25:21.000000000 -0700 53 +++ zlib-1.2.3/Makefile.in 2009-05-07 12:10:15.000000000 -0700 44 54 @@ -49,6 +49,8 @@ 45 55 OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ … … 51 61 # to use the asm code: make OBJA=match.o 52 62 63 @@ -68,7 +70,7 @@ 64 fi 65 66 libz.a: $(OBJS) $(OBJA) 67 - $(AR) $@ $(OBJS) $(OBJA) 68 + $(AR) rc $@ $(OBJS) $(OBJA) 69 -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 70 71 match.o: match.S 53 72 @@ -77,8 +79,11 @@ 54 73 mv _match.o match.o
Note:
See TracChangeset
for help on using the changeset viewer.