diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-20 15:50:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-20 15:50:33 +0100 |
commit | 5d7d7f23f0fe107021914e976cc9f69c4979ba54 (patch) | |
tree | 3e9de59c5c0e3b8e3952625d410e324efda2566e /package/libusb-compat | |
parent | 647c556f74c0d16be9247d1528b902eca0515a03 (diff) |
fix musl compile
Diffstat (limited to 'package/libusb-compat')
-rw-r--r-- | package/libusb-compat/Makefile | 8 | ||||
-rw-r--r-- | package/libusb-compat/patches/patch-libusb_usb_h | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/package/libusb-compat/Makefile b/package/libusb-compat/Makefile index 7441504cd..c4942d8ba 100644 --- a/package/libusb-compat/Makefile +++ b/package/libusb-compat/Makefile @@ -4,13 +4,13 @@ include ${TOPDIR}/rules.mk PKG_NAME:= libusb-compat -PKG_VERSION:= 0.1.3 -PKG_RELEASE:= 2 -PKG_MD5SUM:= 570ac2ea085b80d1f74ddc7c6a93c0eb +PKG_VERSION:= 0.1.5 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 2780b6a758a1e2c2943bdbf7faf740e4 PKG_DESCR:= a library for accessing Linux USB devices PKG_SECTION:= libs PKG_BUILDDEP:= libusb -PKG_URL:= http://libusb.wiki.sourceforge.net +PKG_URL:= http://www.libusb.org/wiki/libusb-compat-0.1 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libusb/} PKG_OPTS:= dev diff --git a/package/libusb-compat/patches/patch-libusb_usb_h b/package/libusb-compat/patches/patch-libusb_usb_h new file mode 100644 index 000000000..f081d8261 --- /dev/null +++ b/package/libusb-compat/patches/patch-libusb_usb_h @@ -0,0 +1,10 @@ +--- libusb-compat-0.1.5.orig/libusb/usb.h 2013-05-05 18:29:02.000000000 +0200 ++++ libusb-compat-0.1.5/libusb/usb.h 2013-12-20 15:49:30.974611582 +0100 +@@ -25,6 +25,7 @@ + #ifndef __USB_H__ + #define __USB_H__ + ++#include <sys/types.h> + #include <unistd.h> + #include <stdlib.h> + #include <limits.h> |