Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e0c178d009d4e99c1a581428f69fcd22e940bd68

commit e0c178d009d4e99c1a581428f69fcd22e940bd68
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Apr 28 22:00:59 2010 +0200

zlib-1.2.5-1-x86_64

- drop no longer necessary patch

diff --git a/source/base/zlib/FrugalBuild b/source/base/zlib/FrugalBuild
index b80a152..8be0fa5 100644
--- a/source/base/zlib/FrugalBuild
+++ b/source/base/zlib/FrugalBuild
@@ -11,13 +11,10 @@ depends=('glibc>=2.8-3')
groups=('base' 'chroot-core')
archs=('i686' 'x86_64' 'ppc')
up2date="lynx -dump http://www.zlib.net/ | grep -m 1 'zlib source code' | cut 
-d ' ' -f 16 | tr -d ,"
-source=(http://www.zlib.net/$pkgname-$pkgver.tar.bz2 pic-x86_64.patch)
+source=(http://www.zlib.net/$pkgname-$pkgver.tar.bz2)

build()
{
-       if [ "$CARCH" == "ppc" ]; then
-               Fpatch pic-x86_64.patch
-       fi
Fmkdir /usr/{lib,include,man/man3}
Fbuild --shared
Fmake
@@ -25,6 +22,5 @@ build()
Ffilerel /usr/man/man3/$pkgname.3
}

-sha1sums=('543fa9abff0442edca308772d6cef85557677e02' \
-          '087a36ae059c65b7b102c76225cd79f86e5bde60')
+sha1sums=('543fa9abff0442edca308772d6cef85557677e02')
# optimization OK
diff --git a/source/base/zlib/pic-x86_64.patch 
b/source/base/zlib/pic-x86_64.patch
deleted file mode 100644
index a09eb8d..0000000
--- a/source/base/zlib/pic-x86_64.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- zlib-1.2.3/configure       2005-07-11 22:11:57.000000000 +0200
-+++ zlib-1.2.3-p/configure     2007-03-10 01:38:43.000000000 +0100
-@@ -73,7 +73,8 @@
-
- if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
-   CC="$cc"
--  SFLAGS=${CFLAGS-"-fPIC -O3"}
-+  SFLAGS=${CFLAGS-"-O3"}
-+  SFLAGS="${SFLAGS} -fPIC"
-   CFLAGS="$cflags"
-   case `(uname -s || echo unknown) 2>/dev/null` in
-   Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared 
-Wl,-soname,libz.so.1"};;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to