From d11fac3d7e9059fc18efc4f76f9f89438a519092 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 11 Aug 2014 09:03:07 +0200 Subject: update package libusb1 The 1.0.19 release now uses VerSetConditionMask(), which is not available by default in i686-pc-mingw32.static (but it *is* for i686-w64-mingw32.static). Thus, add 'CFLAGS=-D_WIN32_WINNT=0x0500' like in other packages to make libusb1 also compile for i686-pc-mingw32.static. --- src/libusb1.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/libusb1.mk b/src/libusb1.mk index f62d882..783a464 100644 --- a/src/libusb1.mk +++ b/src/libusb1.mk @@ -3,8 +3,8 @@ PKG := libusb1 $(PKG)_IGNORE := -$(PKG)_VERSION := 1.0.18 -$(PKG)_CHECKSUM := 5f7bbf42a4d6e6b88d5e7666958c80f8455ee915 +$(PKG)_VERSION := 1.0.19 +$(PKG)_CHECKSUM := c5d14ced155233ceeb5107c7eb3b94b16649ae05 $(PKG)_SUBDIR := libusb-$($(PKG)_VERSION) $(PKG)_FILE := libusb-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libusb/libusb-1.0/libusb-$($(PKG)_VERSION)/$($(PKG)_FILE) @@ -18,6 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - $(MXE_CONFIGURE_OPTS) + $(MXE_CONFIGURE_OPTS) \ + CFLAGS=-D_WIN32_WINNT=0x0500 $(MAKE) -C '$(1)' -j '$(JOBS)' install endef -- cgit v0.12