diff options
author | Koen Kooi <koen@openembedded.org> | 2009-05-27 22:37:27 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-05-27 22:37:27 +0200 |
commit | 9e3fda07e7f0726c19ebf4ad3c050c6621b686a1 (patch) | |
tree | 2ac40276b580850c90e7cbd65eb0bbeb6432c6b2 /recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch | |
parent | e47846def85976da24a74838c55fafcb7751d3dd (diff) | |
parent | 4103b643af81d0f02df999de0b5d32170f2a7567 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch')
-rw-r--r-- | recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch b/recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch new file mode 100644 index 0000000000..98c3674bca --- /dev/null +++ b/recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch @@ -0,0 +1,33 @@ +--- libusb-1.0.1/libusb/Makefile.am-orig 2009-05-19 22:41:07.000000000 +0200 ++++ libusb-1.0.1/libusb/Makefile.am 2009-05-19 22:41:27.000000000 +0200 +@@ -14,7 +14,7 @@ + AM_CFLAGS_EXT = -no-cpp-precomp + endif + +-libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread ++libusb_1_0_la_CFLAGS = $(AM_CFLAGS) -pthread + libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) + + hdrdir = $(includedir)/libusb-1.0 +--- libusb-1.0.1/libusb/Makefile.in-orig 2009-05-19 22:41:13.000000000 +0200 ++++ libusb-1.0.1/libusb/Makefile.in 2009-05-19 22:41:42.000000000 +0200 +@@ -210,7 +210,7 @@ + @OS_DARWIN_TRUE@OS_SRC = $(DARWIN_USB_SRC) + @OS_LINUX_TRUE@OS_SRC = $(LINUX_USBFS_SRC) + @OS_DARWIN_TRUE@AM_CFLAGS_EXT = -no-cpp-precomp +-libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread ++libusb_1_0_la_CFLAGS = $(AM_CFLAGS) -pthread + libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) + hdrdir = $(includedir)/libusb-1.0 + hdr_HEADERS = libusb.h +--- libusb-1.0.1/configure.ac-orig 2009-05-19 22:44:06.000000000 +0200 ++++ libusb-1.0.1/configure.ac 2009-05-19 22:44:16.000000000 +0200 +@@ -72,7 +72,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_SUBST(AM_LDFLAGS) |