gnome-games r7999 - branches/gnome-2-24/blackjack/src



Author: rancell
Date: Mon Oct 13 05:55:24 2008
New Revision: 7999
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7999&view=rev

Log:
Fixes to compile in Solaris (Bug #554746)

Modified:
   branches/gnome-2-24/blackjack/src/Makefile.am
   branches/gnome-2-24/blackjack/src/game.cpp

Modified: branches/gnome-2-24/blackjack/src/Makefile.am
==============================================================================
--- branches/gnome-2-24/blackjack/src/Makefile.am	(original)
+++ branches/gnome-2-24/blackjack/src/Makefile.am	Mon Oct 13 05:55:24 2008
@@ -41,5 +41,5 @@
 
 blackjack_LDADD = 					\
 	../../libgames-support/libgames-support.la	\
-	$(GNOME_GAMES_LIBS)
+	$(GNOME_GAMES_LIBS) -lz
 

Modified: branches/gnome-2-24/blackjack/src/game.cpp
==============================================================================
--- branches/gnome-2-24/blackjack/src/game.cpp	(original)
+++ branches/gnome-2-24/blackjack/src/game.cpp	Mon Oct 13 05:55:24 2008
@@ -128,7 +128,7 @@
 static const char *
 extension_pointer (const char * path)
 {
-        char * s, * t;
+        const char * s, * t;
         
         g_return_val_if_fail (path != NULL, NULL);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]