parent
430ed91532
commit
6d35cb89ee
2 changed files with 13 additions and 2 deletions
11
srcpkgs/stlink/patches/musl.patch
Normal file
11
srcpkgs/stlink/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/gdbserver/gdb-remote.c.orig
|
||||
+++ src/gdbserver/gdb-remote.c
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <mingw.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
-#include <sys/poll.h>
|
||||
+#include <poll.h>
|
||||
#endif
|
||||
|
||||
static const char hex[] = "0123456789abcdef";
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'stlink'
|
||||
pkgname=stlink
|
||||
version=1.3.1
|
||||
version=1.4.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d -DSTLINK_MODPROBED_DIR=/usr/lib/modprobe.d"
|
||||
|
@ -11,7 +11,7 @@ maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|||
license="3-clause-BSD"
|
||||
homepage="https://github.com/texane/stlink"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=5d346b884b5cf1f7f9bb7fd7ee049b3b2e880785c7a15774d0b1a6574823e63b
|
||||
checksum=d99b8385cce8071d5e58de21b6c8866058af20a8dd46ecf01e1c1dc3aa038cc9
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in a new issue