mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
7f26d95dcf
The same issue was reported here to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746854 Apparently this failure only cropped up with g++-4.9, but looking at the code I have no idea how it ever worked without this patch.
22 lines
459 B
Diff
22 lines
459 B
Diff
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);
|
|
|