From ef6ae86a29db5d39e860ed44706b8510bd8ebdac Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 2 Jul 2015 19:43:58 +0200 Subject: [PATCH] libCello: unbreak musl --- srcpkgs/libCello/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libCello/template b/srcpkgs/libCello/template index 8cf9b561e4b..64750fb6818 100644 --- a/srcpkgs/libCello/template +++ b/srcpkgs/libCello/template @@ -1,7 +1,7 @@ # Template file for 'libcello' pkgname=libCello version=1.1.7 -revision=2 +revision=3 short_desc="Higher level programming in C" maintainer="Juan RP " homepage="http://www.libcello.org/" @@ -9,6 +9,11 @@ license="BSD" distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz" checksum=2273fe8257109c2dd19054beecd83ddcc780ec565a1ad02721e24efa74082908 +post_configure() { + # There is no include in musl libc + sed -e "s;defined(__unix__);(defined(__unix__) \&\& defined(__GLIBC__));" \ + -i src/Exception.c +} do_build() { sed -i 's,CFLAGS =,CFLAGS +=,' Makefile make CC=$CC ${makejobs}