mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
patch for gcc44
svn path=/nixpkgs/branches/stdenv-updates/; revision=19503
This commit is contained in:
parent
3189e7a393
commit
e68a8a9575
@ -7,6 +7,8 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0h8zjh38n2wfz7jld0jz6a09y66dbsd2jhm4f2024qfgcmxcabj6";
|
sha256 = "0h8zjh38n2wfz7jld0jz6a09y66dbsd2jhm4f2024qfgcmxcabj6";
|
||||||
};
|
};
|
||||||
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 = ''
|
||||||
|
@ -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…
Reference in New Issue
Block a user