From e68a8a957562a8152f636e99d0a09c3bd1fff109 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sun, 17 Jan 2010 21:34:55 +0000 Subject: [PATCH] patch for gcc44 svn path=/nixpkgs/branches/stdenv-updates/; revision=19503 --- .../libraries/qtscriptgenerator/default.nix | 2 ++ .../qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 pkgs/development/libraries/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch diff --git a/pkgs/development/libraries/qtscriptgenerator/default.nix b/pkgs/development/libraries/qtscriptgenerator/default.nix index 52605a7eb0cf..75bd7b4dc7fb 100644 --- a/pkgs/development/libraries/qtscriptgenerator/default.nix +++ b/pkgs/development/libraries/qtscriptgenerator/default.nix @@ -7,6 +7,8 @@ stdenv.mkDerivation { sha256 = "0h8zjh38n2wfz7jld0jz6a09y66dbsd2jhm4f2024qfgcmxcabj6"; }; buildInputs = [ qt4 ]; + + patches = [./qtscriptgenerator.gcc-4.4.patch]; # Why isn't the author providing proper Makefile or a CMakeLists.txt ? buildPhase = '' diff --git a/pkgs/development/libraries/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch b/pkgs/development/libraries/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch new file mode 100644 index 000000000000..c0a710efb157 --- /dev/null +++ b/pkgs/development/libraries/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch @@ -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 + + #include ++#include + + #ifdef HAVE_MMAP + # include