diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-18 23:12:20 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-18 23:12:20 +0000 |
commit | 7f40246b8f72e4672c33830046ad0b7a4a16fed0 (patch) | |
tree | bb536a11c48f24a2179a283e91b08a37e28a2577 /games/groundhog | |
parent | d15ea15a7498fdf4a13acdf4f75c30f18913b241 (diff) | |
download | ports-7f40246b8f72e4672c33830046ad0b7a4a16fed0.tar.gz ports-7f40246b8f72e4672c33830046ad0b7a4a16fed0.zip |
Make games/groundhog building with gcc321 again.
Notes
Notes:
svn path=/head/; revision=70437
Diffstat (limited to 'games/groundhog')
-rw-r--r-- | games/groundhog/files/patch-src-highscore.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/games/groundhog/files/patch-src-highscore.cc b/games/groundhog/files/patch-src-highscore.cc index 334843c380c6..c6f9eb10531e 100644 --- a/games/groundhog/files/patch-src-highscore.cc +++ b/games/groundhog/files/patch-src-highscore.cc @@ -1,13 +1,11 @@ --- src/highscore.cc/old Sat May 4 23:43:58 2002 +++ src/highscore.cc Thu May 23 14:10:49 2002 -@@ -26,6 +26,10 @@ +@@ -26,6 +26,8 @@ std::string filename = getenv("HOME"); filename += "/.groundhog.highscore"; std::ifstream in(filename.c_str()); -+ if (in==NULL) { -+ cout << "Couldn't open highscore file (this is normal the first time the game is ran).\n"; ++ if (in==NULL) + return; -+ } in >> _beginner >> _intermediate >> _expert; } |