diff options
Diffstat (limited to 'dev-libs/libusb')
-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 |
2 files changed, 19 insertions, 1 deletions
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 |