diff options
author | Travis Tilley <lv@gentoo.org> | 2004-04-01 13:06:43 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-04-01 13:06:43 +0000 |
commit | 57c372a42c908647db7a6423df24b4b5e14ccc45 (patch) | |
tree | f4b2bc364cd6e434686531ed41fc249344c89791 /dev-libs/libusb | |
parent | cleaned out old ebuilds. (diff) | |
download | historical-57c372a42c908647db7a6423df24b4b5e14ccc45.tar.gz historical-57c372a42c908647db7a6423df24b4b5e14ccc45.tar.bz2 historical-57c372a42c908647db7a6423df24b4b5e14ccc45.zip |
-fPIC fix for libusb
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r-- | dev-libs/libusb/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libusb/files/libusb-0.1.8-amd64-fPIC.patch | 11 | ||||
-rw-r--r-- | dev-libs/libusb/libusb-0.1.8.ebuild | 9 |
3 files changed, 21 insertions, 2 deletions
diff --git a/dev-libs/libusb/Manifest b/dev-libs/libusb/Manifest index f89656e640e2..bb746eed1c46 100644 --- a/dev-libs/libusb/Manifest +++ b/dev-libs/libusb/Manifest @@ -1,8 +1,9 @@ MD5 828b3892c229f2c115241d16a042a7cb ChangeLog 2358 MD5 e96455e545c02526f608f289ae2da5d1 libusb-0.1.7-r1.ebuild 916 MD5 21b12dc7bcb189aee2c61e52a322bf15 libusb-0.1.7.ebuild 881 -MD5 115b203db1c594479cb9f58eb1cadd20 libusb-0.1.8.ebuild 1018 +MD5 b6a87a143bcf9de14f91c6ea83520361 libusb-0.1.8.ebuild 1142 MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219 MD5 9cb49945879f78000d198c898d197e54 files/digest-libusb-0.1.7 64 MD5 9cb49945879f78000d198c898d197e54 files/digest-libusb-0.1.7-r1 64 MD5 edf695ba0c7ee442c501401384faaa94 files/digest-libusb-0.1.8 64 +MD5 13b0f271f94755b89f904270daa0659d files/libusb-0.1.8-amd64-fPIC.patch 268 diff --git a/dev-libs/libusb/files/libusb-0.1.8-amd64-fPIC.patch b/dev-libs/libusb/files/libusb-0.1.8-amd64-fPIC.patch new file mode 100644 index 000000000000..b8cfdbe69764 --- /dev/null +++ b/dev-libs/libusb/files/libusb-0.1.8-amd64-fPIC.patch @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2004-03-27 16:34:18.371955584 +0100 ++++ Makefile.in 2004-03-27 16:34:07.796563288 +0100 +@@ -54,7 +54,7 @@ + CC = @CC@ + CCDEPMODE = @CCDEPMODE@ + +-CFLAGS = $(CFLAGS_EXT) ++CFLAGS = $(CFLAGS_EXT) -fPIC + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ + CXX = @CXX@ diff --git a/dev-libs/libusb/libusb-0.1.8.ebuild b/dev-libs/libusb/libusb-0.1.8.ebuild index f1b569b98a0d..fb193efc54b5 100644 --- a/dev-libs/libusb/libusb-0.1.8.ebuild +++ b/dev-libs/libusb/libusb-0.1.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.8.ebuild,v 1.1 2004/02/29 01:03:43 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.8.ebuild,v 1.2 2004/04/01 13:06:43 lv Exp $ DESCRIPTION="Userspace access to USB devices" HOMEPAGE="http://libusb.sourceforge.net/" @@ -15,6 +15,13 @@ DEPEND="sys-devel/libtool doc? ( app-text/openjade =app-text/docbook-sgml-dtd-3.1-r1 )" +src_unpack(){ + unpack ${A} + # needed by libgphoto2, see bug #45889 + cd ${S} + epatch ${FILESDIR}/libusb-0.1.8-amd64-fPIC.patch +} + src_compile() { local myconf |