mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
testing/rvlprog: fix missing cstdint when compiling with gcc13
Signed-off-by: Weijie Wang <wangweijie@loongson.cn>
This commit is contained in:
parent
86b20a3fc9
commit
45d168ae58
2 changed files with 20 additions and 3 deletions
|
@ -2,14 +2,16 @@
|
|||
# Maintainer: TBK <alpine@jjtc.eu>
|
||||
pkgname=rvlprog
|
||||
pkgver=0.91
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="CLI tool for REVELPROG-IS programmer"
|
||||
url="https://gitlab.com/spectrum70/rvlprog"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
options="!check" # no test suite
|
||||
makedepends="libusb-dev"
|
||||
source="https://gitlab.com/spectrum70/rvlprog/-/archive/$pkgver/rvlprog-$pkgver.tar.gz"
|
||||
source="https://gitlab.com/spectrum70/rvlprog/-/archive/$pkgver/rvlprog-$pkgver.tar.gz
|
||||
missing_cstdint.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
export LIBS="-lusb-1.0"
|
||||
|
@ -21,4 +23,7 @@ package() {
|
|||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="cef54e0980345a4a814cbee0dd6a49b10fcf6d9a5660344abba3d2bf79188f5c20298a2befe3fe8ff99df55f01da33a233ca4d17898ce618dd0e456fa51c87db rvlprog-0.91.tar.gz"
|
||||
sha512sums="
|
||||
cef54e0980345a4a814cbee0dd6a49b10fcf6d9a5660344abba3d2bf79188f5c20298a2befe3fe8ff99df55f01da33a233ca4d17898ce618dd0e456fa51c87db rvlprog-0.91.tar.gz
|
||||
ae7407ed92df80d41cfb772e2eccee8868c8c251eddc3e8eada820c8247663746a37d4844d533340abe6fc79a08ce4fb188c6df6ea543dd29ae45157cbea0c26 missing_cstdint.patch
|
||||
"
|
||||
|
|
12
testing/rvlprog/missing_cstdint.patch
Normal file
12
testing/rvlprog/missing_cstdint.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/include/protocol.hh b/include/protocol.hh
|
||||
index 4ddd155..ecf782e 100644
|
||||
--- a/include/protocol.hh
|
||||
+++ b/include/protocol.hh
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
+#include <cstdint>
|
||||
|
||||
using std::vector;
|
||||
using std::map;
|
Loading…
Add table
Add a link
Reference in a new issue