buildrootschalter/package/libusb-compat/libusb-compat-0.1.3-pkgconfig.patch
Mike Crowe e237c99357 libusb: bump version, convert to autotools, add -compat lib
Upgrade libusb to v1.0.3 and add new libusb-compat package for
compatibility with old packages that expect the pre-1.0 API.

Also update usb_modeswitch to depend on libusb-compat rather than
libusb.

Minor fixes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>.

Fixes bug #1093.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
2010-04-06 21:55:14 +02:00

11 lines
368 B
Diff

--- libusb-compat-0.1.3.orig/libusb.pc.in 2008-06-18 00:13:02.000000000 +0100
+++ libusb-compat-0.1.3/libusb.pc.in 2009-09-16 12:06:50.000000000 +0100
@@ -9,6 +9,7 @@ emulated_by=libusb-1.0
Name: libusb
Description: USB access library (libusb-1.0 compat wrapper)
Version: @LIBUSB01_VERSION@
+Requires: libusb-1.0
Libs: -L${libdir} -lusb
Cflags: -I${includedir}