about summary refs log tree commit diff
path: root/pkgs/development/libraries/tinyxml
diff options
context:
space:
mode:
authorDomen Kozar <domen@dev.si>2013-03-12 01:35:16 +0100
committerDomen Kozar <domen@dev.si>2013-03-12 01:35:16 +0100
commitacf4697a5f17d460295b5eff3a2b119a35ea46d2 (patch)
treef37f2eaa3f02f3e5cc8c42b177532e629edc173d /pkgs/development/libraries/tinyxml
parent3e610840061b98b0bd11b30a8b1dc10d5b9a8637 (diff)
upgrade xbmc to 12.0
Diffstat (limited to 'pkgs/development/libraries/tinyxml')
-rw-r--r--pkgs/development/libraries/tinyxml/2.6.2.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tinyxml/2.6.2.nix b/pkgs/development/libraries/tinyxml/2.6.2.nix
index 8770859817cad..fb2ff0b84f05f 100644
--- a/pkgs/development/libraries/tinyxml/2.6.2.nix
+++ b/pkgs/development/libraries/tinyxml/2.6.2.nix
@@ -20,8 +20,12 @@ in stdenv.mkDerivation {
   
   buildInputs = [ unzip ];
   buildPhase = ''
+    # use STL (xbmc requires it)
+    sed '1i#define TIXML_USE_STL 1' -i tinyxml.h
+    sed '1i#define TIXML_USE_STL 1' -i xmltest.cpp
+
     # build xmltest
-    make
+    make 
     
     # build the lib as a shared library
     g++ -Wall -O2 -shared -fpic tinyxml.cpp \