diff options
author | Uffe Jakobsen | 2022-11-14 22:56:39 +0100 |
---|---|---|
committer | Uffe Jakobsen | 2022-11-14 22:56:39 +0100 |
commit | 19a507556ce9b3f45dc1c67fab1864c43b117b70 (patch) | |
tree | 5fe3b73090def1c3c6c5c8958e8d383166d74af5 | |
parent | 7e281e3cfbd7c5b945ead8bb2867a007915f9b55 (diff) | |
download | aur-19a507556ce9b3f45dc1c67fab1864c43b117b70.tar.gz |
Add workaround for non-existing posix streams include file (stropts.h) on linux
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 14 insertions, 7 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Fri Aug 3 11:59:06 UTC 2018 pkgbase = dwire-debug-git pkgdesc = Simple stand-alone debugger for ATtiny 45 and other ATMEL AVR DebugWIRE chips connected directly to an FT232R or similar - pkgver = r155.d6af573 + pkgver = r167.9b98597 pkgrel = 1 url = https://github.com/dcwbrown/dwire-debug arch = i686 @@ -13,4 +11,3 @@ pkgbase = dwire-debug-git md5sums = SKIP pkgname = dwire-debug-git - @@ -4,7 +4,7 @@ pkgname=dwire-debug-git _pkgname=dwire-debug -pkgver=r155.d6af573 +pkgver=r167.9b98597 pkgrel=1 pkgdesc="Simple stand-alone debugger for ATtiny 45 and other ATMEL AVR DebugWIRE chips connected directly to an FT232R or similar" arch=("i686" "x86_64") @@ -13,7 +13,7 @@ license=("GPL2") depends=("gtk3") conflict=("dwire-debug") source=("git+https://github.com/dcwbrown/dwire-debug.git") -md5sums=('SKIP') +md5sums=('SKIP') pkgver() { @@ -21,9 +21,19 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() +{ + cd "${srcdir}/${_pkgname}" +} + build() { cd "${srcdir}/${_pkgname}" - make dwdebug || return 1 + + # workaround for non-existing posix streams include file (stropts.h) on linux + touch stropts.h + make dwdebug CC="gcc -I." || return 1 + + #make dwdebug || return 1 } package() { |