Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37592999
en ru br
ALT Linux repos
S:1.1.0.76-alt1
5.0: 1.0.0-alt1

Group :: Games/Puzzles
RPM: hex-a-hop

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: hex-a-hop.gcc44.patch
Download


diff -ur hex-a-hop/menus.h hex-a-hop.new/menus.h
--- hex-a-hop/menus.h	2009-05-26 18:09:37 +0000
+++ hex-a-hop.new/menus.h	2009-05-26 18:08:43 +0000
@@ -192,7 +192,7 @@
 	{
 		state = 0; time = 0;
 		memset(title, 0, sizeof(title));
-		char * x = strstr(m, "|");
+		const char * x = strstr(m, "|");
 		if (!x)
 		{
 			msg = m;
diff -ur hex-a-hop/savestate.h hex-a-hop.new/savestate.h
--- hex-a-hop/savestate.h	2009-05-26 18:09:37 +0000
+++ hex-a-hop.new/savestate.h	2009-05-26 18:08:30 +0000
@@ -278,7 +278,7 @@
 
 	LevelSave* GetLevel(const char * name, bool create)
 	{
-		char * l = strstr(name, "Levels");
+		const char * l = strstr(name, "Levels");
 		if (l)
 			name = l;
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin