Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2000 18:51:24 +0100
From:      Alexander Langer <alex@big.endian.de>
To:        ports@freebsd.org, gow@math.orst.edu
Subject:   fix for games/xspacewarp under current (bentofied)
Message-ID:  <20000206185124.A4613@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii

Hello!

This are the fixes for the gcc 2.95.2 compiler under FreeBSD-current.

Found by bento.

Alex
-- 
I doubt, therefore I might be. 

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-00

--- c_endever.hh.old	Sun Feb  6 18:38:08 2000
+++ c_endever.hh	Sun Feb  6 18:38:21 2000
@@ -35,7 +35,7 @@
   bool nomove() const {return (nomoveflag);}
   void setnomove(bool nm) {nomoveflag = nm;}
   static void seticon(const char *str);
-  static geticon_len();
+  static int geticon_len();
 private:
   int torpedoes;
   bool docked;			// whether docked to a base

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-01

--- xprep.hh.old	Sun Feb  6 18:38:52 2000
+++ xprep.hh	Sun Feb  6 18:45:52 2000
@@ -194,7 +194,7 @@
     sizeof(Boolean),
     XtOffsetOf(AppData, nomouse),
     XtRString,
-    "False"
+    (void *) "False"
   },
   {
     XtNrows,
@@ -365,7 +365,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, foreground),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNbackground,
@@ -374,7 +374,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, background),
     XtRString,
-    XtDefaultBackground
+    (void *) XtDefaultBackground
   },
   {
     XtNendeverColor,
@@ -383,7 +383,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, endever_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNendeverIcon,
@@ -401,7 +401,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, jovian_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNjovianIcon,
@@ -419,7 +419,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, base_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNbaseIcon,
@@ -437,7 +437,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, star_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNstarIcon,
@@ -455,7 +455,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, blackhole_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNblackholeIcon,
@@ -473,7 +473,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, faser_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNfaserWidth,
@@ -518,7 +518,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, torpedo_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNtorpedoWidth,
@@ -554,7 +554,7 @@
     sizeof(Pixel),
     XtOffsetOf(AppData, explosion_color),
     XtRString,
-    XtDefaultForeground
+    (void *) XtDefaultForeground
   },
   {
     XtNexplosionSpeed,

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-02

--- c_jovian.cc.old	Sun Feb  6 18:46:25 2000
+++ c_jovian.cc	Sun Feb  6 18:47:36 2000
@@ -22,10 +22,10 @@
 
 // these AI functions are kept in separate file c_jovian_ai.cc
 
-extern Action Jovian::pick_action();
-extern Direction Jovian::pick_direction();
-extern Ucoors Jovian::pick_sector();
-extern Point Jovian::pick_target();
+// extern Action Jovian::pick_action();
+// extern Direction Jovian::pick_direction();
+// extern Ucoors Jovian::pick_sector();
+// extern Point Jovian::pick_target();
 
 
 Jovian::Jovian(): Combatant()

--sdtB3X0nJg68CQEu--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000206185124.A4613>