summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-03-30 14:39:40 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-03-30 14:39:40 +0000
commitc2e4d6d8b119175be33a73e868afa95a5d76aa02 (patch)
treecb753a7f6a3f1cd955b4f557efc6fd556b9b4766 /dev-libs/szip
parentClosing #44742. (Manifest recommit) (diff)
downloadgentoo-2-c2e4d6d8b119175be33a73e868afa95a5d76aa02.tar.gz
gentoo-2-c2e4d6d8b119175be33a73e868afa95a5d76aa02.tar.bz2
gentoo-2-c2e4d6d8b119175be33a73e868afa95a5d76aa02.zip
Closing #46222.
Diffstat (limited to 'dev-libs/szip')
-rw-r--r--dev-libs/szip/ChangeLog5
-rw-r--r--dev-libs/szip/files/szip-1.1-fPIC.patch11
-rw-r--r--dev-libs/szip/szip-1.1-r1.ebuild10
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-libs/szip/ChangeLog b/dev-libs/szip/ChangeLog
index afe9826fe838..2f73e28ba057 100644
--- a/dev-libs/szip/ChangeLog
+++ b/dev-libs/szip/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/szip
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/szip/ChangeLog,v 1.5 2004/03/16 06:49:48 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/szip/ChangeLog,v 1.6 2004/03/30 14:39:40 aliz Exp $
+
+ 30 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> szip-1.1-r1.ebuild:
+ Fix -fPIC issues, closing #46222.
*szip-1.1-r1 (16 Mar 2004)
diff --git a/dev-libs/szip/files/szip-1.1-fPIC.patch b/dev-libs/szip/files/szip-1.1-fPIC.patch
new file mode 100644
index 000000000000..a34f8c26834a
--- /dev/null
+++ b/dev-libs/szip/files/szip-1.1-fPIC.patch
@@ -0,0 +1,11 @@
+--- Makefile.in 2004-03-30 14:34:47.515593775 +0000
++++ Makefile.in 2004-03-30 14:35:34.005187952 +0000
+@@ -120,6 +120,8 @@
+ gentest.o: szlib.h
+ mcgill.o: mcgill.h
+ rice.o: rice.h
++ $(CC) $(CFLAGS) -fPIC -c rice.c
+ sz_api.o: szlib.h
++ $(CC) $(CFLAGS) -fPIC -c sz_api.c
+ burst_szip: mcgill.o
+ gentest: mcgill.o
diff --git a/dev-libs/szip/szip-1.1-r1.ebuild b/dev-libs/szip/szip-1.1-r1.ebuild
index ed107c9a25a7..9d611000737e 100644
--- a/dev-libs/szip/szip-1.1-r1.ebuild
+++ b/dev-libs/szip/szip-1.1-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/szip/szip-1.1-r1.ebuild,v 1.1 2004/03/16 06:49:48 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/szip/szip-1.1-r1.ebuild,v 1.2 2004/03/30 14:39:40 aliz Exp $
+
+inherit eutils
MY_P="${P/-}"
@@ -18,6 +20,12 @@ DEPEND=""
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-fPIC.patch
+}
+
src_compile() {
./configure -s --prefix="/usr" || die
emake CFLAGS="${CFLAGS} -DHAVE_UNISTD_H -DUSE_MMAP" || die