diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-02-27 19:12:50 +0100 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-02-27 19:14:02 +0100 |
commit | 827b42a875039c09f8a774a429595004e2176620 (patch) | |
tree | 0880e7a373ee113e9e2bf4c9f46ae49f554ac214 /recipes/libusb/libusb-compat-0.1.3 | |
parent | c3a77580a5a22ff49d8322ad6ab14870c545dae9 (diff) |
libusb-compat: upgraded to 0.1.3
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/libusb/libusb-compat-0.1.3')
-rw-r--r-- | recipes/libusb/libusb-compat-0.1.3/gcc-3-compatibility.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/libusb/libusb-compat-0.1.3/gcc-3-compatibility.patch b/recipes/libusb/libusb-compat-0.1.3/gcc-3-compatibility.patch new file mode 100644 index 0000000000..e6142f735c --- /dev/null +++ b/recipes/libusb/libusb-compat-0.1.3/gcc-3-compatibility.patch @@ -0,0 +1,26 @@ +Index: libusb-compat-0.1.2/configure.ac +=================================================================== +--- libusb-compat-0.1.2.orig/configure.ac 2009-06-11 22:49:08.000000000 +0000 ++++ libusb-compat-0.1.2/configure.ac 2009-06-26 21:44:08.000000000 +0000 +@@ -56,7 +56,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]) +Index: libusb-compat-0.1.2/libusb/Makefile.am +=================================================================== +--- libusb-compat-0.1.2.orig/libusb/Makefile.am 2008-06-17 23:13:02.000000000 +0000 ++++ libusb-compat-0.1.2/libusb/Makefile.am 2009-06-26 21:44:08.000000000 +0000 +@@ -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 |