about summary refs log tree commit diff
path: root/pkgs/games/globulation
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-08-26 15:56:43 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-08-26 15:57:01 +0200
commit0e9be66b7c63699c44d69abc172960657884dd21 (patch)
treee6732898e61f956b9d009b3a9f0f53daf75c9fd4 /pkgs/games/globulation
parent3e732d92e96aeb5ab8de09b0d69cdd0d823ad9b2 (diff)
globulation2: fix build
Diffstat (limited to 'pkgs/games/globulation')
-rw-r--r--pkgs/games/globulation/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/games/globulation/default.nix b/pkgs/games/globulation/default.nix
index 061f7c328d683..49353f5d7b5bd 100644
--- a/pkgs/games/globulation/default.nix
+++ b/pkgs/games/globulation/default.nix
@@ -1,5 +1,6 @@
 { stdenv, fetchurl, mesa, SDL, scons, SDL_ttf, SDL_image, zlib, SDL_net
 , speex, libvorbis, libogg, boost, fribidi, bsdiff
+, fetchpatch
 }:
 let
   version = "0.9.4";
@@ -18,7 +19,12 @@ stdenv.mkDerivation rec {
     sha256 = "1f0l2cqp2g3llhr9jl6jj15k0wb5q8n29vqj99xy4p5hqs78jk8g";
   };
 
-  patches = [ ./header-order.patch ./public-buildproject.patch ];
+  patches = [ ./header-order.patch ./public-buildproject.patch
+    (fetchpatch {
+	  url = https://bitbucket.org/giszmo/glob2/commits/c9dc715624318e4fea4abb24e04f0ebdd9cd8d2a/raw;
+	  sha256 = "0017xg5agj3dy0hx71ijdcrxb72bjqv7x6aq7c9zxzyyw0mkxj0k";
+	})
+  ];
 
   postPatch = ''
     cp campaigns/tutorial-part4.map{,.orig}