povray: fix musl

This commit is contained in:
John 2019-01-30 18:57:58 +01:00 committed by John Zimmermann
parent f5ede045ed
commit 1526e91808
2 changed files with 12 additions and 4 deletions

View file

@ -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;

View file

@ -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