diff options
Diffstat (limited to 'recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch')
-rw-r--r-- | recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch b/recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch new file mode 100644 index 0000000000..f07b5383bf --- /dev/null +++ b/recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch @@ -0,0 +1,22 @@ +--- libusb-compat-0.1.0/configure.ac-orig 2009-02-26 15:30:51.000000000 +0100 ++++ libusb-compat-0.1.0/configure.ac 2009-02-26 15:31:04.000000000 +0100 +@@ -55,7 +55,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.pc] [libusb-config] [Makefile] [libusb/Makefile] [examples/Makefile]) +--- libusb-compat-0.1.0/libusb/Makefile.am-orig 2009-02-26 15:33:30.000000000 +0100 ++++ libusb-compat-0.1.0/libusb/Makefile.am 2009-02-26 15:33:40.000000000 +0100 +@@ -2,7 +2,7 @@ + lib_LTLIBRARIES = libusb.la + + libusb_la_SOURCES = core.c usbi.h +-libusb_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) $(LIBUSB_1_0_CFLAGS) ++libusb_la_CFLAGS = $(AM_CFLAGS) $(LIBUSB_1_0_CFLAGS) + libusb_la_LIBADD = $(LIBUSB_1_0_LIBS) + libusb_la_LDFLAGS = -version-info $(LT_MAJOR):$(LT_REVISION):$(LT_AGE) \ + -release 0.1 |