From acf4697a5f17d460295b5eff3a2b119a35ea46d2 Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Tue, 12 Mar 2013 01:35:16 +0100 Subject: upgrade xbmc to 12.0 --- pkgs/development/libraries/tinyxml/2.6.2.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/development/libraries/tinyxml') 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 \ -- cgit 1.4.1