Merge pull request #9514 from dfoxfranke/glob2
glob2: fix build failure
This commit is contained in:
commit
0c8b638b57
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1f0l2cqp2g3llhr9jl6jj15k0wb5q8n29vqj99xy4p5hqs78jk8g";
|
||||
};
|
||||
|
||||
patches = [ ./header-order.patch ];
|
||||
patches = [ ./header-order.patch ./public-buildproject.patch ];
|
||||
|
||||
postPatch = ''
|
||||
cp campaigns/tutorial-part4.map{,.orig}
|
||||
|
21
pkgs/games/globulation/public-buildproject.patch
Normal file
21
pkgs/games/globulation/public-buildproject.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -Nru glob2-0.9.4.4/src/Game.h glob2-0.9.4.4.new/src/Game.h
|
||||
--- glob2-0.9.4.4/src/Game.h 2009-08-29 16:39:06.000000000 -0400
|
||||
+++ glob2-0.9.4.4.new/src/Game.h 2015-08-29 00:59:07.843398596 -0400
|
||||
@@ -148,7 +148,7 @@
|
||||
TOP_TO_BOTTOM,
|
||||
BOTTOM_TO_TOP
|
||||
};
|
||||
-
|
||||
+public:
|
||||
struct BuildProject
|
||||
{
|
||||
int posX;
|
||||
@@ -158,7 +158,7 @@
|
||||
int unitWorking;
|
||||
int unitWorkingFuture;
|
||||
};
|
||||
-
|
||||
+private:
|
||||
///Initiates Game
|
||||
void init(GameGUI *gui, MapEdit* edit);
|
||||
|
Loading…
Reference in New Issue
Block a user