patch for gcc44
svn path=/nixpkgs/branches/stdenv-updates/; revision=19503
This commit is contained in:
parent
3189e7a393
commit
e68a8a9575
@ -8,6 +8,8 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qt4 ];
|
||||||
|
|
||||||
|
patches = [./qtscriptgenerator.gcc-4.4.patch];
|
||||||
|
|
||||||
# Why isn't the author providing proper Makefile or a CMakeLists.txt ?
|
# Why isn't the author providing proper Makefile or a CMakeLists.txt ?
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
# remove phonon stuff which causes errors (thanks to Gentoo bug reports)
|
# remove phonon stuff which causes errors (thanks to Gentoo bug reports)
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
diff -uNr generator.orig/parser/rpp/pp.h generator/parser/rpp/pp.h
|
||||||
|
--- qtscriptgenerator-src-0.1.0/generator.orig/parser/rpp/pp.h 2008-12-05 11:01:44.000000000 +0100
|
||||||
|
+++ qtscriptgenerator-src-0.1.0/generator/parser/rpp/pp.h 2008-12-13 10:42:22.000000000 +0100
|
||||||
|
@@ -30,6 +30,7 @@
|
||||||
|
#include <cctype>
|
||||||
|
|
||||||
|
#include <fcntl.h>
|
||||||
|
+#include <cstdio>
|
||||||
|
|
||||||
|
#ifdef HAVE_MMAP
|
||||||
|
# include <sys/mman.h>
|
Loading…
x
Reference in New Issue
Block a user