diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-19 07:12:20 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-19 07:12:20 +0800 |
commit | dae21723c26316ee0cb5dc91a2d30c88f038fb43 (patch) | |
tree | f262e8f0bf0b28605e7d113e9bf5423090606911 /games/groundhog | |
parent | f305de6d4d49b90abeeece04e004f6a8466ba8c8 (diff) | |
download | freebsd-ports-gnome-dae21723c26316ee0cb5dc91a2d30c88f038fb43.tar.gz freebsd-ports-gnome-dae21723c26316ee0cb5dc91a2d30c88f038fb43.tar.zst freebsd-ports-gnome-dae21723c26316ee0cb5dc91a2d30c88f038fb43.zip |
Make games/groundhog building with gcc321 again.
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; } |