diff --git a/dev-libs/libusb-compat/libusb_compat-0.1.5.recipe b/dev-libs/libusb-compat/libusb_compat-0.1.5.recipe index fbc48d3cb..867f53142 100644 --- a/dev-libs/libusb-compat/libusb_compat-0.1.5.recipe +++ b/dev-libs/libusb-compat/libusb_compat-0.1.5.recipe @@ -13,7 +13,7 @@ COPYRIGHT=" HOMEPAGE="http://libusb.info/" SRC_URI="http://sourceforge.net/projects/libusb/files/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2" CHECKSUM_SHA256="404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a" -REVISION="1" +REVISION="2" ARCHITECTURES="!x86 !x86_64 x86_gcc2" SECONDARY_ARCHITECTURES="!x86" diff --git a/dev-libs/libusb-compat/patches/libusb_compat-0.1.5.patchset b/dev-libs/libusb-compat/patches/libusb_compat-0.1.5.patchset index d2ab8991f..7a15af38d 100644 --- a/dev-libs/libusb-compat/patches/libusb_compat-0.1.5.patchset +++ b/dev-libs/libusb-compat/patches/libusb_compat-0.1.5.patchset @@ -1,7 +1,7 @@ -From 112d4b70e1ffb419b85f11472b102af50265189b Mon Sep 17 00:00:00 2001 +From ef2cc8b06a71405324cd2d497815f88cff4a0c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 7 Nov 2014 23:21:52 +0100 -Subject: [PATCH 1/3] Drop unsupported gcc2 flags +Subject: [PATCH 1/4] Drop unsupported gcc2 flags --- configure.ac | 2 +- @@ -38,10 +38,10 @@ index 33a609a..b72849e 100644 1.8.3.4 -From ccfa2f42d6b82fac02a77e2567689c3b7e2ddc3c Mon Sep 17 00:00:00 2001 +From 225917ef9cac34dee263448081cd7db00a9fa45a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 8 Nov 2014 01:10:41 +0100 -Subject: [PATCH 2/3] C89 +Subject: [PATCH 2/4] C89 gcc2 requires C89 --- @@ -78,10 +78,10 @@ index c0ccb1f..63567c5 100644 1.8.3.4 -From b389cb382da70b40a422977639e7ecc91c855413 Mon Sep 17 00:00:00 2001 +From 5afdd1723f5d7cfae10c48a5ede37a42cacad733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 11 Aug 2014 19:20:13 +0200 -Subject: [PATCH 3/3] Work around ugly return -EFOO constructs +Subject: [PATCH 3/4] Work around ugly return -EFOO constructs Apps will also need to be fixed... --- @@ -231,3 +231,28 @@ index 63567c5..c6fa4bb 100644 -- 1.8.3.4 + +From a625234d9147126e19757fa40a65d97df5f2099d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= +Date: Sun, 9 Nov 2014 01:51:32 +0100 +Subject: [PATCH 4/4] Add stdint.h so we get u_int*_t + +--- + libusb/usb.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libusb/usb.h b/libusb/usb.h +index 84e730f..a02049b 100644 +--- a/libusb/usb.h ++++ b/libusb/usb.h +@@ -26,6 +26,7 @@ + #define __USB_H__ + + #include ++#include + #include + #include + +-- +1.8.3.4 +