summaryrefslogtreecommitdiff
path: root/multilib/lib32-libcups/fix-libusb-configure.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-22 00:02:33 +0000
committerroot <root@rshg054.dnsready.net>2012-05-22 00:02:33 +0000
commit62e13d20ed92262c7396eff00d048ce815693e74 (patch)
tree2a02f5885ef928a5c3776a9f1a5c0c37d0d531a4 /multilib/lib32-libcups/fix-libusb-configure.patch
parentd9687afd09db8b04c5ae90edf22df599532256c6 (diff)
Tue May 22 00:02:33 UTC 2012
Diffstat (limited to 'multilib/lib32-libcups/fix-libusb-configure.patch')
-rw-r--r--multilib/lib32-libcups/fix-libusb-configure.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multilib/lib32-libcups/fix-libusb-configure.patch b/multilib/lib32-libcups/fix-libusb-configure.patch
new file mode 100644
index 000000000..02476c0b8
--- /dev/null
+++ b/multilib/lib32-libcups/fix-libusb-configure.patch
@@ -0,0 +1,12 @@
+diff -ur cups-1.5_2012-05-20_223115.3/config-scripts/cups-common.m4 cups-1.5.3/config-scripts/cups-common.m4
+--- cups-1.5_2012-05-20_223115.3/config-scripts/cups-common.m4 2012-05-20 22:31:15.702071734 +0200
++++ cups-1.5.3/config-scripts/cups-common.m4 2012-05-20 22:31:29.395622693 +0200
+@@ -216,7 +216,7 @@
+ AC_SUBST(LIBUSB)
+
+ if test "x$PKGCONFIG" != x; then
+- if test x$enable_libusb = xyes -o $uname != Darwin; then
++ if test x$enable_libusb = xyes -a $uname != Darwin; then
+ AC_MSG_CHECKING(for libusb-1.0)
+ if $PKGCONFIG --exists libusb-1.0; then
+ AC_MSG_RESULT(yes)