diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-11 16:14:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-11 16:14:23 +0000 |
commit | 9d8dc4e41a6b4847c1d03dfc397f09599a5617f3 (patch) | |
tree | 674096f633bc0878fb104c7679f6e4ffc95df409 | |
parent | 725f724cc86cf6dea41eff8f2eb32b1499fd5385 (diff) | |
download | upstream-9d8dc4e41a6b4847c1d03dfc397f09599a5617f3.tar.gz upstream-9d8dc4e41a6b4847c1d03dfc397f09599a5617f3.tar.bz2 upstream-9d8dc4e41a6b4847c1d03dfc397f09599a5617f3.zip |
libusb: update to version 1.0.19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43930 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/libs/libusb/Makefile | 7 | ||||
-rw-r--r-- | package/libs/libusb/patches/001-timerfd.patch | 16 |
2 files changed, 13 insertions, 10 deletions
diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 2796b051d5..d2493fd26e 100644 --- a/package/libs/libusb/Makefile +++ b/package/libs/libusb/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libusb -PKG_VERSION:=1.0.9 +PKG_VERSION:=1.0.19 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/$(PKG_NAME) -PKG_MD5SUM:=7f5a02375ad960d4e33a6dae7d63cfcb +PKG_MD5SUM:=f9e2bb5879968467e5ca756cb4e1fa7e PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 @@ -37,6 +37,9 @@ define Package/libusb-1.0/description endef TARGET_CFLAGS += $(FPIC) +CONFIGURE_ARGS += \ + --disable-udev \ + --disable-log define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/* $(1)/ diff --git a/package/libs/libusb/patches/001-timerfd.patch b/package/libs/libusb/patches/001-timerfd.patch index de48a7fd9b..d14e3dcba7 100644 --- a/package/libs/libusb/patches/001-timerfd.patch +++ b/package/libs/libusb/patches/001-timerfd.patch @@ -14,15 +14,15 @@ Date: Thu Jan 27 06:39:16 2011 +0300 --- a/libusb/io.c +++ b/libusb/io.c -@@ -20,6 +20,7 @@ - - #include <config.h> - #include <errno.h> +@@ -32,6 +32,7 @@ + #include <sys/time.h> + #endif + #ifdef USBI_TIMERFD_AVAILABLE +#include <fcntl.h> - #include <signal.h> - #include <stdint.h> - #include <stdlib.h> -@@ -1072,7 +1073,7 @@ int usbi_io_init(struct libusb_context * + #include <sys/timerfd.h> + #endif + +@@ -1141,7 +1142,7 @@ int usbi_io_init(struct libusb_context * #ifdef USBI_TIMERFD_AVAILABLE ctx->timerfd = timerfd_create(usbi_backend->get_timerfd_clockid(), |