From a5d31be527b77e70092d5226a2b1c8991de013e5 Mon Sep 17 00:00:00 2001 From: Alexander Tsamutali Date: Sun, 2 Jan 2011 23:52:25 +0000 Subject: [PATCH] games/warsow: Fixed OpenAL support. svn path=/nixpkgs/trunk/; revision=25353 --- pkgs/games/warsow/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/warsow/default.nix b/pkgs/games/warsow/default.nix index 8478cd281d96..6b4f5e8bab9f 100644 --- a/pkgs/games/warsow/default.nix +++ b/pkgs/games/warsow/default.nix @@ -19,6 +19,9 @@ stdenv.mkDerivation rec { cd source unzip $src2 'basewsw/*' -d release ''; + patchPhase = '' + substituteInPlace snd_openal/snd_main.c --replace libopenal.so.1 ${openal}/lib/libopenal.so.1 + ''; buildInputs = [ unzip pkgconfig zlib curl libjpeg libvorbis libXxf86dga libXxf86vm libXinerama SDL mesa openal ]; installPhase = ''