summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-09-10 04:25:34 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-09-10 04:25:34 +0000
commit5b9c454c46029b7efe2bef526f7d466ef31398bc (patch)
tree13f8e7c36fe0e014dfb037be0c9f44a94876de77 /games
parenteba226ab0b303af788d64dd733710929a1c3d0fe (diff)
downloadFreeBSD-ports-5b9c454c46029b7efe2bef526f7d466ef31398bc.zip
FreeBSD-ports-5b9c454c46029b7efe2bef526f7d466ef31398bc.tar.gz
Add a patch to unbreak for gcc 2.95.1
PR: 13674 Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r--games/fgfs-base/files/patch-ag94
-rw-r--r--games/flightgear-data/files/patch-ag94
-rw-r--r--games/flightgear/files/patch-ag94
3 files changed, 282 insertions, 0 deletions
diff --git a/games/fgfs-base/files/patch-ag b/games/fgfs-base/files/patch-ag
new file mode 100644
index 0000000..b0cb8e6
--- /dev/null
+++ b/games/fgfs-base/files/patch-ag
@@ -0,0 +1,94 @@
+From brian@CSUA.Berkeley.EDU Thu Sep 9 20:25:32 1999
+Return-Path: <brian@CSUA.Berkeley.EDU>
+Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52])
+ by hub.freebsd.org (Postfix) with ESMTP id 4DD7F152D2
+ for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Sep 1999 20:25:30 -0700 (PDT)
+ (envelope-from brian@CSUA.Berkeley.EDU)
+Received: from smarter.than.nu (ida-89-77.Reshall.Berkeley.EDU [169.229.89.77])
+ by soda.CSUA.Berkeley.EDU (8.8.8/) via ESMTP id UAA17320
+ for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Sep 1999 20:24:55 -0700 (PDT)
+ env-from (brian@CSUA.Berkeley.EDU)
+Message-Id: <Pine.BSF.4.10.9909092019290.691-100000@smarter.than.nu>
+Date: Thu, 9 Sep 1999 20:24:54 -0700 (PDT)
+From: "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>
+To: FreeBSD-gnats-submit@freebsd.org
+Subject: [PATCH] Fix games/flightgear build under 3.3RC
+
+>Number: 13674
+>Category: ports
+>Synopsis: Patch for games/flightgear for 3.3
+>Confidential: no
+>Severity: critical
+>Priority: high
+>Responsible: freebsd-ports
+>State: open
+>Quarter:
+>Keywords:
+>Date-Required:
+>Class: sw-bug
+>Submitter-Id: current-users
+>Arrival-Date: Thu Sep 9 20:30:00 PDT 1999
+>Closed-Date:
+>Last-Modified:
+>Originator: Brian Buchanan
+>Release: FreeBSD 4.0-CURRENT i386
+>Organization:
+>Environment:
+>Description:
+
+Satoshi's build logs show FlightGear failing under 3.3 due to some
+implicit typecasting that the compiler has no problem with under 4.0, but
+barfs at under 3.3. A patch is attached. I don't have any way to test
+this under 3.3, nor do I know if anything later in the build process fails
+under 3.3, so if someone could do a quick check and fix any other trivial
+little things before the ports freeze, it would be appreciated.
+
+>How-To-Repeat:
+>Fix:
+
+Add patches/patch-ag:
+
+--- Simulator/GUI/gui.cxx.old Thu Sep 9 20:11:55 1999
++++ Simulator/GUI/gui.cxx Thu Sep 9 20:13:07 1999
+@@ -149,7 +149,7 @@
+ glutSetCursor(GLUT_CURSOR_INHERIT);
+ #endif
+ #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+- glutWarpPointer( glutGet(GLUT_SCREEN_WIDTH)/2, glutGet(GLUT_SCREEN_HEIGHT)/2);
++ glutWarpPointer( glutGet((GLenum)GLUT_SCREEN_WIDTH)/2, glutGet((GLenum)GLUT_SCREEN_HEIGHT)/2);
+ #endif
+ }
+
+@@ -160,7 +160,7 @@
+ glutSetCursor(GLUT_CURSOR_NONE);
+ #else // I guess this is what we want to do ??
+ #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+- glutWarpPointer( glutGet(GLUT_SCREEN_WIDTH), glutGet(GLUT_SCREEN_HEIGHT));
++ glutWarpPointer( glutGet((GLenum)GLUT_SCREEN_WIDTH), glutGet((GLenum)GLUT_SCREEN_HEIGHT));
+ #endif
+ #endif
+ }
+@@ -195,7 +195,7 @@
+ if( restore ) {
+ glutSetCursor(cursor);
+ } else {
+- cursor = glutGet( GLUT_WINDOW_CURSOR );
++ cursor = glutGet( (GLenum)GLUT_WINDOW_CURSOR );
+ #ifdef WIN32
+ TurnCursorOn();
+ #endif
+@@ -595,7 +595,7 @@
+ // Install our fast fonts
+ fntpath.append( "typewriter.txf" );
+ guiFntHandle = new fntTexFont ;
+- guiFntHandle -> load ( fntpath.c_str() ) ;
++ guiFntHandle -> load ( (char *)fntpath.c_str() ) ;
+ puFont GuiFont ( guiFntHandle, 15 ) ;
+ puSetDefaultFonts( GuiFont, GuiFont ) ;
+ guiFnt = puGetDefaultLabelFont();
+
+
+>Release-Note:
+>Audit-Trail:
+>Unformatted:
+
diff --git a/games/flightgear-data/files/patch-ag b/games/flightgear-data/files/patch-ag
new file mode 100644
index 0000000..b0cb8e6
--- /dev/null
+++ b/games/flightgear-data/files/patch-ag
@@ -0,0 +1,94 @@
+From brian@CSUA.Berkeley.EDU Thu Sep 9 20:25:32 1999
+Return-Path: <brian@CSUA.Berkeley.EDU>
+Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52])
+ by hub.freebsd.org (Postfix) with ESMTP id 4DD7F152D2
+ for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Sep 1999 20:25:30 -0700 (PDT)
+ (envelope-from brian@CSUA.Berkeley.EDU)
+Received: from smarter.than.nu (ida-89-77.Reshall.Berkeley.EDU [169.229.89.77])
+ by soda.CSUA.Berkeley.EDU (8.8.8/) via ESMTP id UAA17320
+ for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Sep 1999 20:24:55 -0700 (PDT)
+ env-from (brian@CSUA.Berkeley.EDU)
+Message-Id: <Pine.BSF.4.10.9909092019290.691-100000@smarter.than.nu>
+Date: Thu, 9 Sep 1999 20:24:54 -0700 (PDT)
+From: "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>
+To: FreeBSD-gnats-submit@freebsd.org
+Subject: [PATCH] Fix games/flightgear build under 3.3RC
+
+>Number: 13674
+>Category: ports
+>Synopsis: Patch for games/flightgear for 3.3
+>Confidential: no
+>Severity: critical
+>Priority: high
+>Responsible: freebsd-ports
+>State: open
+>Quarter:
+>Keywords:
+>Date-Required:
+>Class: sw-bug
+>Submitter-Id: current-users
+>Arrival-Date: Thu Sep 9 20:30:00 PDT 1999
+>Closed-Date:
+>Last-Modified:
+>Originator: Brian Buchanan
+>Release: FreeBSD 4.0-CURRENT i386
+>Organization:
+>Environment:
+>Description:
+
+Satoshi's build logs show FlightGear failing under 3.3 due to some
+implicit typecasting that the compiler has no problem with under 4.0, but
+barfs at under 3.3. A patch is attached. I don't have any way to test
+this under 3.3, nor do I know if anything later in the build process fails
+under 3.3, so if someone could do a quick check and fix any other trivial
+little things before the ports freeze, it would be appreciated.
+
+>How-To-Repeat:
+>Fix:
+
+Add patches/patch-ag:
+
+--- Simulator/GUI/gui.cxx.old Thu Sep 9 20:11:55 1999
++++ Simulator/GUI/gui.cxx Thu Sep 9 20:13:07 1999
+@@ -149,7 +149,7 @@
+ glutSetCursor(GLUT_CURSOR_INHERIT);
+ #endif
+ #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+- glutWarpPointer( glutGet(GLUT_SCREEN_WIDTH)/2, glutGet(GLUT_SCREEN_HEIGHT)/2);
++ glutWarpPointer( glutGet((GLenum)GLUT_SCREEN_WIDTH)/2, glutGet((GLenum)GLUT_SCREEN_HEIGHT)/2);
+ #endif
+ }
+
+@@ -160,7 +160,7 @@
+ glutSetCursor(GLUT_CURSOR_NONE);
+ #else // I guess this is what we want to do ??
+ #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+- glutWarpPointer( glutGet(GLUT_SCREEN_WIDTH), glutGet(GLUT_SCREEN_HEIGHT));
++ glutWarpPointer( glutGet((GLenum)GLUT_SCREEN_WIDTH), glutGet((GLenum)GLUT_SCREEN_HEIGHT));
+ #endif
+ #endif
+ }
+@@ -195,7 +195,7 @@
+ if( restore ) {
+ glutSetCursor(cursor);
+ } else {
+- cursor = glutGet( GLUT_WINDOW_CURSOR );
++ cursor = glutGet( (GLenum)GLUT_WINDOW_CURSOR );
+ #ifdef WIN32
+ TurnCursorOn();
+ #endif
+@@ -595,7 +595,7 @@
+ // Install our fast fonts
+ fntpath.append( "typewriter.txf" );
+ guiFntHandle = new fntTexFont ;
+- guiFntHandle -> load ( fntpath.c_str() ) ;
++ guiFntHandle -> load ( (char *)fntpath.c_str() ) ;
+ puFont GuiFont ( guiFntHandle, 15 ) ;
+ puSetDefaultFonts( GuiFont, GuiFont ) ;
+ guiFnt = puGetDefaultLabelFont();
+
+
+>Release-Note:
+>Audit-Trail:
+>Unformatted:
+
diff --git a/games/flightgear/files/patch-ag b/games/flightgear/files/patch-ag
new file mode 100644
index 0000000..b0cb8e6
--- /dev/null
+++ b/games/flightgear/files/patch-ag
@@ -0,0 +1,94 @@
+From brian@CSUA.Berkeley.EDU Thu Sep 9 20:25:32 1999
+Return-Path: <brian@CSUA.Berkeley.EDU>
+Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52])
+ by hub.freebsd.org (Postfix) with ESMTP id 4DD7F152D2
+ for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Sep 1999 20:25:30 -0700 (PDT)
+ (envelope-from brian@CSUA.Berkeley.EDU)
+Received: from smarter.than.nu (ida-89-77.Reshall.Berkeley.EDU [169.229.89.77])
+ by soda.CSUA.Berkeley.EDU (8.8.8/) via ESMTP id UAA17320
+ for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Sep 1999 20:24:55 -0700 (PDT)
+ env-from (brian@CSUA.Berkeley.EDU)
+Message-Id: <Pine.BSF.4.10.9909092019290.691-100000@smarter.than.nu>
+Date: Thu, 9 Sep 1999 20:24:54 -0700 (PDT)
+From: "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>
+To: FreeBSD-gnats-submit@freebsd.org
+Subject: [PATCH] Fix games/flightgear build under 3.3RC
+
+>Number: 13674
+>Category: ports
+>Synopsis: Patch for games/flightgear for 3.3
+>Confidential: no
+>Severity: critical
+>Priority: high
+>Responsible: freebsd-ports
+>State: open
+>Quarter:
+>Keywords:
+>Date-Required:
+>Class: sw-bug
+>Submitter-Id: current-users
+>Arrival-Date: Thu Sep 9 20:30:00 PDT 1999
+>Closed-Date:
+>Last-Modified:
+>Originator: Brian Buchanan
+>Release: FreeBSD 4.0-CURRENT i386
+>Organization:
+>Environment:
+>Description:
+
+Satoshi's build logs show FlightGear failing under 3.3 due to some
+implicit typecasting that the compiler has no problem with under 4.0, but
+barfs at under 3.3. A patch is attached. I don't have any way to test
+this under 3.3, nor do I know if anything later in the build process fails
+under 3.3, so if someone could do a quick check and fix any other trivial
+little things before the ports freeze, it would be appreciated.
+
+>How-To-Repeat:
+>Fix:
+
+Add patches/patch-ag:
+
+--- Simulator/GUI/gui.cxx.old Thu Sep 9 20:11:55 1999
++++ Simulator/GUI/gui.cxx Thu Sep 9 20:13:07 1999
+@@ -149,7 +149,7 @@
+ glutSetCursor(GLUT_CURSOR_INHERIT);
+ #endif
+ #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+- glutWarpPointer( glutGet(GLUT_SCREEN_WIDTH)/2, glutGet(GLUT_SCREEN_HEIGHT)/2);
++ glutWarpPointer( glutGet((GLenum)GLUT_SCREEN_WIDTH)/2, glutGet((GLenum)GLUT_SCREEN_HEIGHT)/2);
+ #endif
+ }
+
+@@ -160,7 +160,7 @@
+ glutSetCursor(GLUT_CURSOR_NONE);
+ #else // I guess this is what we want to do ??
+ #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+- glutWarpPointer( glutGet(GLUT_SCREEN_WIDTH), glutGet(GLUT_SCREEN_HEIGHT));
++ glutWarpPointer( glutGet((GLenum)GLUT_SCREEN_WIDTH), glutGet((GLenum)GLUT_SCREEN_HEIGHT));
+ #endif
+ #endif
+ }
+@@ -195,7 +195,7 @@
+ if( restore ) {
+ glutSetCursor(cursor);
+ } else {
+- cursor = glutGet( GLUT_WINDOW_CURSOR );
++ cursor = glutGet( (GLenum)GLUT_WINDOW_CURSOR );
+ #ifdef WIN32
+ TurnCursorOn();
+ #endif
+@@ -595,7 +595,7 @@
+ // Install our fast fonts
+ fntpath.append( "typewriter.txf" );
+ guiFntHandle = new fntTexFont ;
+- guiFntHandle -> load ( fntpath.c_str() ) ;
++ guiFntHandle -> load ( (char *)fntpath.c_str() ) ;
+ puFont GuiFont ( guiFntHandle, 15 ) ;
+ puSetDefaultFonts( GuiFont, GuiFont ) ;
+ guiFnt = puGetDefaultLabelFont();
+
+
+>Release-Note:
+>Audit-Trail:
+>Unformatted:
+
OpenPOWER on IntegriCloud