srw: fix musl
This commit is contained in:
parent
f959f6e666
commit
0ee534e42a
2 changed files with 10 additions and 1 deletions
10
srcpkgs/srw/patches/musl-fixes.patch
Normal file
10
srcpkgs/srw/patches/musl-fixes.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- srw.c.orig
|
||||
+++ srw.c
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/wait.h>
|
||||
+#include <sys/ttydefaults.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#include <pty.h>
|
|
@ -10,7 +10,6 @@ license="GPL-3"
|
|||
homepage="https://bitbucket.org/emg/srw"
|
||||
distfiles="https://bitbucket.org/emg/srw/get/${version}.tar.bz2"
|
||||
checksum=7e0c3a30747bd58b46a9266303e59a587e0859d3803971fe36dbf57c68e04e27
|
||||
nostrip=yes
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
|
||||
|
|
Loading…
Reference in a new issue