remove g++ dependency from libusb
authorIvan Kuten <ivan.kuten@promwad.com>
Fri, 9 Nov 2007 09:26:37 +0000 (09:26 -0000)
committerIvan Kuten <ivan.kuten@promwad.com>
Fri, 9 Nov 2007 09:26:37 +0000 (09:26 -0000)
package/libusb/libusb-0.1.12-nocpp.patch [new file with mode: 0644]

diff --git a/package/libusb/libusb-0.1.12-nocpp.patch b/package/libusb/libusb-0.1.12-nocpp.patch
new file mode 100644 (file)
index 0000000..de1a8c7
--- /dev/null
@@ -0,0 +1,20 @@
+--- libusb-0.1.12/Makefile.am  2006-03-04 13:52:46.000000000 +1100
++++ libusb-0.1.12/Makefile.am.new      2007-11-08 16:25:38.000000000 +1100
+@@ -4,7 +4,7 @@
+ # gnu strictness chokes on README being autogenerated
+ AUTOMAKE_OPTIONS = 1.4 foreign
+-SUBDIRS = . tests doc
++SUBDIRS = . doc
+ AM_CFLAGS = -Werror
+@@ -19,7 +19,7 @@
+              apidocs/footer.html apidocs/doxygen.css apidocs/doxygen.png libusb.pc.in
+ EXTRA_libusb_la_SOURCE = linux.c linux.h bsd.c darwin.c
+-lib_LTLIBRARIES = libusb.la libusbpp.la
++lib_LTLIBRARIES = libusb.la
+ pkgconfig_DATA = libusb.pc