diff --git a/srcpkgs/povray/patches/musl.patch b/srcpkgs/povray/patches/musl.patch new file mode 100644 index 00000000000..693656b2f43 --- /dev/null +++ b/srcpkgs/povray/patches/musl.patch @@ -0,0 +1,11 @@ +--- vfe/vfesession.h 2019-01-30 18:47:18.816545460 +0100 ++++ - 2019-01-30 18:50:31.169629844 +0100 +@@ -40,6 +40,8 @@ + + #include "base/image/colourspace.h" + ++typedef unsigned int uint; ++ + namespace vfe + { + using namespace pov_frontend; diff --git a/srcpkgs/povray/template b/srcpkgs/povray/template index a289238427e..054d12d5907 100644 --- a/srcpkgs/povray/template +++ b/srcpkgs/povray/template @@ -19,10 +19,7 @@ distfiles="https://github.com/POV-Ray/povray/archive/v${version}.tar.gz" checksum=53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4 nocross="Builds fail on ARM architectures Logs are at https://travis-ci.org/void-linux/void-packages/builds/412583835." - -case $XBPS_TARGET_MACHINE in - *-musl) broken="segfaults on start";; -esac +LDFLAGS+=" -Wl,-z,stack-size=1048576" pre_configure() { cd $wrksrc/unix