wok-next rev 17760

compiz-core: fix build
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Mar 10 09:04:11 2015 +0100 (2015-03-10)
parents c4fad9f4bde4
children 41ca42dcfb31
files compiz-core/receipt
line diff
     1.1 --- a/compiz-core/receipt	Tue Mar 10 08:31:24 2015 +0100
     1.2 +++ b/compiz-core/receipt	Tue Mar 10 09:04:11 2015 +0100
     1.3 @@ -21,8 +21,13 @@
     1.4  {
     1.5  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
     1.6  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
     1.7 -	
     1.8 -	cd $src
     1.9 +
    1.10 +	patch $src/include/compiz.h <<EOT
    1.11 +--- compiz.h
    1.12 ++++ compiz.h
    1.13 +@@ -0,0 +1 @@
    1.14 ++#include <dirent.h>
    1.15 +EOT
    1.16  	mkdir build && cd build
    1.17  	cmake \
    1.18  		-DCMAKE_INSTALL_PREFIX="/usr" \