libusb: add patch for broken sh test in configure. Bump revision.

--HG--
extra : convert_revision : 58d840b94819beb4806ecc27feecac1cae28d6f4
This commit is contained in:
Juan RP 2009-04-27 00:11:35 +02:00
parent 9b8961d7ad
commit 79a8601bb8
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Incorrect comparision operator that doesn't work in strict POSIX shells.
--- configure.orig 2009-04-27 00:07:12.146716716 +0200
+++ configure 2009-04-27 00:07:31.506853126 +0200
@@ -11255,7 +11255,7 @@ $as_echo "$as_me: error: unsupported ope
{ (exit 1); exit 1; }; }
esac
- if test "x$backend" == "xlinux"; then
+ if test "x$backend" = "xlinux"; then
OS_LINUX_TRUE=
OS_LINUX_FALSE='#'
else

View File

@ -2,6 +2,8 @@
pkgname=libusb
sourcepkg=$pkgname
version=1.0.0
revision=1
patch_files="configure_sh_test_invalid.diff"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="A library which allows userspace access to USB devices"