slop: unbreak musl

This commit is contained in:
jbu 2015-07-12 14:01:10 +02:00
parent 4be81ecea2
commit fae4c84f4b

View file

@ -1,7 +1,7 @@
# Template file for 'slop' # Template file for 'slop'
pkgname=slop pkgname=slop
version=4.2.17 version=4.2.17
revision=1 revision=2
build_style=cmake build_style=cmake
hostmakedepends="pkg-config cmake" hostmakedepends="pkg-config cmake"
makedepends="imlib2-devel glew-devel libXext-devel libXrender-devel libXrandr-devel glm" makedepends="imlib2-devel glew-devel libXext-devel libXrender-devel libXrandr-devel glm"
@ -11,3 +11,9 @@ license="GPL-3"
homepage="https://github.com/naelstrof/slop" homepage="https://github.com/naelstrof/slop"
distfiles="https://github.com/naelstrof/slop/archive/v${version}.tar.gz" distfiles="https://github.com/naelstrof/slop/archive/v${version}.tar.gz"
checksum=e0195424cda967573b30a837a1b050451df3b5a8cc34c60bcee918c20c0d318e checksum=e0195424cda967573b30a837a1b050451df3b5a8cc34c60bcee918c20c0d318e
pre_build() {
# Remove a stray include
sed -e "/#include <execinfo.h>/d" \
-i ${wrksrc}/src/main.cpp
}