diff --git a/srcpkgs/srw/patches/musl-fixes.patch b/srcpkgs/srw/patches/musl-fixes.patch new file mode 100644 index 00000000000..fc3916d8699 --- /dev/null +++ b/srcpkgs/srw/patches/musl-fixes.patch @@ -0,0 +1,10 @@ +--- srw.c.orig ++++ srw.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + #ifdef __linux__ + #include diff --git a/srcpkgs/srw/template b/srcpkgs/srw/template index 9225bf94a93..fc0748a4f62 100644 --- a/srcpkgs/srw/template +++ b/srcpkgs/srw/template @@ -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