~alpine/aports

main/libusb-compat: depend on libusb v1 APPLIED

Wolf: 1
 main/libusb-compat: depend on libusb

 1 files changed, 2 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3783/mbox | git am -3
Learn more about email & git

[PATCH] main/libusb-compat: depend on libusb Export this patch

With upgrade to 0.1.7, dependency on libusb is no longer auto-detected
(since libusb-compat is using dlopen) breaking other applications unless
libusb is installed manually.

This commit add manual dependency to resolve the issue.
---
 main/libusb-compat/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD
index aea6c17ec5..a7d3ddec45 100644
--- a/main/libusb-compat/APKBUILD
+++ b/main/libusb-compat/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb-compat
pkgver=0.1.7
pkgrel=0
pkgrel=1
pkgdesc="Compatility for older libusb"
url="https://libusb.info/"
arch="all"
license="LGPL-2.1-or-later"
subpackages="$pkgname-dev"
depends="libusb"
makedepends="libusb-dev"
source="https://github.com/libusb/libusb-compat-0.1/releases/download/v$pkgver/libusb-compat-$pkgver.tar.gz
	fix-headers.patch"
-- 
2.33.1
Forgot to mention that this needs to be done for 3.15 as well. That's
were are encountered the issue.

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
Polite ping on this one. I'm also usin this as an opportunity to add that his should go to 3.15 as well (I've originally noticed there).

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27859#note_198712