summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libusb/files/libusb-0.1.8-amd64-fPIC.patch')
-rw-r--r--dev-libs/libusb/files/libusb-0.1.8-amd64-fPIC.patch11
1 files changed, 11 insertions, 0 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@