SOURCES: xbill-c++.patch - more fixes needed by recent gcc

qboosh qboosh at pld-linux.org
Mon Oct 16 23:27:06 CEST 2006


Author: qboosh                       Date: Mon Oct 16 21:27:06 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- more fixes needed by recent gcc

---- Files affected:
SOURCES:
   xbill-c++.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/xbill-c++.patch
diff -u SOURCES/xbill-c++.patch:1.1 SOURCES/xbill-c++.patch:1.2
--- SOURCES/xbill-c++.patch:1.1	Sat Jan  6 00:40:48 2001
+++ SOURCES/xbill-c++.patch	Mon Oct 16 23:27:01 2006
@@ -10,3 +10,35 @@
  
  };
  
+--- xbill-2.0/UI.cc.orig	1997-01-23 17:22:51.000000000 +0100
++++ xbill-2.0/UI.cc	2006-10-16 23:07:56.461712750 +0200
+@@ -125,10 +125,10 @@
+ void UI::popup_dialog (int dialog) {
+ 	Widget w;
+ 	switch (dialog) {
+-		case game.ENTERNAME: w = enternamebox; break;
+-		case game.HIGHSCORE: w = highscorebox; break;
+-		case game.SCORE: w = scorebox; break;
+-		case game.ENDGAME: w = endgamebox; break;
++		case Game::ENTERNAME: w = enternamebox; break;
++		case Game::HIGHSCORE: w = highscorebox; break;
++		case Game::SCORE: w = scorebox; break;
++		case Game::ENDGAME: w = endgamebox; break;
+ 	}
+ 	popup (NULL, &w, NULL);
+ }
+@@ -139,11 +139,11 @@
+ 
+ void UI::set_cursor(int cursor) {
+ 	switch (cursor) {
+-	case game.BUCKETC:
++	case Game::BUCKETC:
+ 		XDefineCursor(display, window, bucket.cursor.cursor); break;
+-	case game.DOWNC:
++	case Game::DOWNC:
+ 		XDefineCursor(display, window, downcursor.cursor); break;
+-	case game.DEFAULTC:
++	case Game::DEFAULTC:
+ 		XDefineCursor(display, window, defaultcursor.cursor); break;
+ 	default:
+ 		XDefineCursor(display, window, OS.cursor[cursor].cursor);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/xbill-c++.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list