* Apply a patch to make kdebindings build with the current sip.

svn path=/nixpkgs/branches/x-updates/; revision=22670
This commit is contained in:
Eelco Dolstra 2010-07-19 23:24:37 +00:00
parent cceb5bcf80
commit 488f36ef19
2 changed files with 8 additions and 12 deletions

View file

@ -1,11 +0,0 @@
source $stdenv/setup
tar xfvj $src
cd kdebindings-*/python/pykde4
python configure.py -d $out/lib/python2.5/site-packages -v $out/share/sip
for i in `find . -name Makefile`
do
sed -i -e "s/-O2/-O0/" $i
done
make
make install

View file

@ -7,11 +7,18 @@
stdenv.mkDerivation {
name = "kdebindings-4.4.5";
src = fetchurl {
url = mirror://kde/stable/4.4.5/src/kdebindings-4.4.5.tar.bz2;
sha256 = "0l8lk8vl68jc82lai4ljlm9ph53q4fn0ki0jq45lizdmqjgvahy4";
};
#builder = ./builder.sh;
patches =
[ (fetchurl {
url = "http://bugs.gentoo.org/attachment.cgi?id=238975";
sha256 = "0vng8j8fhbq5ys8hy0bcvi6x2bym9j65dh61m2c1dr3z7rsx2bqb";
})
];
# Disable smoke because I don't need it and gives us an error
cmakeFlags = [ "-DENABLE_SMOKE=OFF" ];