From d96638f6d57163d0fb102d8449c1caf22aa7c0d9 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 22 Feb 2016 19:36:57 +0000
Subject: libusb-compat: update to 0.1.5

---
 abs/core/libusb-compat/PKGBUILD                 | 17 ++++++-----------
 abs/core/libusb-compat/libusb-0.1-libusbx.patch | 17 -----------------
 2 files changed, 6 insertions(+), 28 deletions(-)
 delete mode 100644 abs/core/libusb-compat/libusb-0.1-libusbx.patch

diff --git a/abs/core/libusb-compat/PKGBUILD b/abs/core/libusb-compat/PKGBUILD
index 76b8f05..b90bdba 100644
--- a/abs/core/libusb-compat/PKGBUILD
+++ b/abs/core/libusb-compat/PKGBUILD
@@ -1,26 +1,20 @@
-# $Id: PKGBUILD 162998 2012-07-05 06:50:21Z tpowa $
-# Maintainer:
+# $Id$
+# Maintainer: Tom Gundersen <teg@jklm.no>
 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
 # Contributor: arjan <arjan@archlinux.org>
 
 pkgname=libusb-compat
-pkgver=0.1.4
-pkgrel=2
+pkgver=0.1.5
+pkgrel=1
 pkgdesc="Library to enable user space application programs to communicate with USB devices"
 arch=('i686' 'x86_64')
 url="http://libusb.sourceforge.net/"
 license=('LGPL')
 depends=('libusb' 'sh')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2"
-        "libusb-0.1-libusbx.patch")   
-md5sums=('2ca521fffadd0c28fdf174e6ec73865b'
-         '1612c3982f307da1332d6db57b16742b')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  # http://libusb.org/ticket/138 can be removed with libusbx 1.0.13
-  patch -Np0 -i ../libusb-0.1-libusbx.patch
   ./configure --prefix=/usr --disable-static
   make
 }
@@ -30,3 +24,4 @@ package() {
   make DESTDIR="${pkgdir}" install
 }
 
+md5sums=('2780b6a758a1e2c2943bdbf7faf740e4')
diff --git a/abs/core/libusb-compat/libusb-0.1-libusbx.patch b/abs/core/libusb-compat/libusb-0.1-libusbx.patch
deleted file mode 100644
index 6156365..0000000
--- a/abs/core/libusb-compat/libusb-0.1-libusbx.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-http://bugs.gentoo.org/423135
-
---- libusb/core.c
-+++ libusb/core.c
-@@ -32,12 +32,6 @@
- static libusb_context *ctx = NULL;
- static int usb_debug = 0;
- 
--enum usbi_log_level {
--	LOG_LEVEL_DEBUG,
--	LOG_LEVEL_INFO,
--	LOG_LEVEL_WARNING,
--	LOG_LEVEL_ERROR,
--};
- 
- #ifdef ENABLE_LOGGING
- #define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt)
-- 
cgit v0.12

