]> git.pld-linux.org Git - packages/xbill.git/commitdiff
- more fixes needed by recent gcc
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 16 Oct 2006 21:27:01 +0000 (21:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xbill-c++.patch -> 1.2

xbill-c++.patch

index c9f1bab31387745fcf9e431fd83a3f2821cd1c81..0cfac72592501515976e01ba3b71ceb7cb585b07 100644 (file)
@@ -10,3 +10,35 @@ diff -Nur xbill-2.0.orig/Cable.h xbill-2.0/Cable.h
  
  };
  
+--- 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);
This page took 0.087921 seconds and 4 git commands to generate.