aboutsummaryrefslogtreecommitdiffstats
path: root/community/stlink/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-04-14 15:53:46 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-04-14 15:53:46 +0200
commit4f0c2f0544679d9970e8107633125eab0cc7caa0 (patch)
tree76dbcc62996bd63cf2afded37c1de78672347a5b /community/stlink/APKBUILD
parent41dc189d256d90aa5efaef1a858991133482767e (diff)
downloadaports-4f0c2f0544679d9970e8107633125eab0cc7caa0.tar.bz2
aports-4f0c2f0544679d9970e8107633125eab0cc7caa0.tar.xz
community/stlink: fix build with libusb >= 1.0.22
See: https://github.com/texane/stlink/issues/703
Diffstat (limited to 'community/stlink/APKBUILD')
-rw-r--r--community/stlink/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/stlink/APKBUILD b/community/stlink/APKBUILD
index 73410a5c84..8d0168452e 100644
--- a/community/stlink/APKBUILD
+++ b/community/stlink/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=stlink
pkgver=1.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="STM32 discovery line linux programmer"
url="https://github.com/texane/stlink"
arch="all"
@@ -13,7 +13,8 @@ makedepends="cmake libusb-dev"
install=""
options="!check" # upstream doesn't have automated tests
subpackages="$pkgname-doc $pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/texane/$pkgname/archive/$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/texane/$pkgname/archive/$pkgver.tar.gz
+ 0001-Fix-libusb-function-deprecation-used-for-stlinkv1.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
@@ -37,4 +38,5 @@ package() {
"$pkgdir"/usr/share/doc/$pkgname/
}
-sha512sums="0e93c0fdcd377c6f2d452b9b6fa00b741dc0dd906673773ef09185aca4f63930db61e137bb28c47e34218edca9f7a80cd05352fb8f9d8e50b000c779cc36580a stlink-1.5.0.tar.gz"
+sha512sums="0e93c0fdcd377c6f2d452b9b6fa00b741dc0dd906673773ef09185aca4f63930db61e137bb28c47e34218edca9f7a80cd05352fb8f9d8e50b000c779cc36580a stlink-1.5.0.tar.gz
+d3bf74913f675f2f49c2219883c50a138267caf0a2e20e11f461d10ff77d0e291cf44cc266fa200855c9e171081f560a460496df28cc20c1020fdaef95dc3753 0001-Fix-libusb-function-deprecation-used-for-stlinkv1.patch"