summaryrefslogtreecommitdiff
path: root/games/urban/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'games/urban/patches/patch-ai')
-rw-r--r--games/urban/patches/patch-ai16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/urban/patches/patch-ai b/games/urban/patches/patch-ai
new file mode 100644
index 00000000000..0bd5d099c50
--- /dev/null
+++ b/games/urban/patches/patch-ai
@@ -0,0 +1,16 @@
+$NetBSD: patch-ai,v 1.1 2005/03/14 14:48:20 rillig Exp $
+
+g++-2.95.3 does not allow class members that have the same name as the
+class.
+
+--- src/include/highscor.h.orig Sun Jun 6 15:38:15 1999
++++ src/include/highscor.h Sat Mar 12 11:14:51 2005
+@@ -6,7 +6,7 @@
+ /***************************************************************************/
+ struct Score {
+ char Name[64];
+- int Score;
++ int S_Score;
+ int Level;
+ };
+ /***************************************************************************/