summaryrefslogtreecommitdiff
path: root/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-08-04 15:13:29 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-08-04 15:13:29 +0000
commit29f6b384ef2899fda7d18b990622a9b30a7aa8d2 (patch)
tree00c1880e6891890663fc95ff9d3f12e631c26b36 /packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch
parent615fc240efab913c303ec3a464c341cbddba4687 (diff)
parent89b85eda60769fe941a2e64ea4d296617befc2af (diff)
merge of '0675e9a3e7f3d9faa1311df4548be2e200c02760'
and 'ed7f086a6f3dc6bc06899e467a960cd37d7f2a9c'
Diffstat (limited to 'packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch')
-rw-r--r--packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch b/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch
new file mode 100644
index 0000000000..1b06945d1a
--- /dev/null
+++ b/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch
@@ -0,0 +1,13 @@
+Index: libusb-0.9.0/configure.ac
+===================================================================
+--- libusb-0.9.0.orig/configure.ac 2008-07-21 08:04:03.000000000 +0200
++++ libusb-0.9.0/configure.ac 2008-07-21 08:04:16.000000000 +0200
+@@ -62,7 +62,7 @@
+ CFLAGS="$saved_cflags"
+
+ AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
+-AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
++AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow"
+ AC_SUBST(AM_CFLAGS)
+
+ AC_CONFIG_FILES([libusb-1.0.pc] [Makefile] [libusb/Makefile] [examples/Makefile] [doc/Makefile])