path: root/usbredirparser
diff options
authorHans de Goede <>2012-09-25 12:41:59 +0200
committerHans de Goede <>2012-09-25 12:58:17 +0200
commitdca68e5664b3dc4f7e91b5df4b8656b5e8386b6e (patch)
treedfb90ef1444bfcee639c773448aefc48d88df5f1 /usbredirparser
parenta7ca5b2569106561e6846bd1699ba5397dc13f68 (diff)
Rename libusbredirparser.pc to libusbredirparser-0.5.pcusbredir-0.5.2
The usbredir 0.5 release introduced the new API for 64 bit packet ids, but it kept the libusbredirparser.pc name as is, meaning that older versions of qemu will still have their pkg-config check for usbredirparser fulfilled, and build with the usb-redir device. Due to the API change there will be some compiler warnings, but the build will succeed, however the usb-redir device will be broken on 32 bit machines. To solve this, this patch renames the libusbredirparser.pc file to libusbredirparser-0.5.pc, so that it will no longer fulfill the pkg-config check of the qemu-1.2 and older releases, stopping the (silent) breakage. A patch has been send to qemu-devel to adjusts qemu master's configure. Signed-off-by: Hans de Goede <>
Diffstat (limited to 'usbredirparser')
-rw-r--r--usbredirparser/ (renamed from usbredirparser/
2 files changed, 2 insertions, 2 deletions
diff --git a/usbredirparser/ b/usbredirparser/
index 53c1012..e9cd917 100644
--- a/usbredirparser/
+++ b/usbredirparser/
@@ -11,4 +11,4 @@ libusbredirparser_la_SOURCES += strtok_r.c strtok_r.h
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libusbredirparser.pc
+pkgconfig_DATA = libusbredirparser-0.5.pc
diff --git a/usbredirparser/ b/usbredirparser/
index 2bb1a62..4fc7acd 100644
--- a/usbredirparser/
+++ b/usbredirparser/
@@ -3,7 +3,7 @@ exec_prefix=@exec_prefix@
-Name: libusbredirparser
+Name: libusbredirparser-0.5
Description: usbredirparser library
Version: @VERSION@
Libs: -L${libdir} -lusbredirparser