diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2004-08-21 08:11:29 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2004-08-21 08:11:29 +0000 |
commit | cf7afdc3e5665684145ef642936f2c1290c6a36e (patch) | |
tree | eeda312c6fed1fcad82e20170dbcb9d2625ebc64 /games/kfreerings | |
parent | 2079aaa72f61691aa95dbd7b6e634b642a62978d (diff) |
Fix build with gcc 3.4
Notes
Notes:
svn path=/head/; revision=116882
Diffstat (limited to 'games/kfreerings')
-rw-r--r-- | games/kfreerings/files/patch-kfgame.cpp | 11 | ||||
-rw-r--r-- | games/kfreerings/files/patch-kflevel.cpp | 19 |
2 files changed, 30 insertions, 0 deletions
diff --git a/games/kfreerings/files/patch-kfgame.cpp b/games/kfreerings/files/patch-kfgame.cpp new file mode 100644 index 000000000000..86a7459428d3 --- /dev/null +++ b/games/kfreerings/files/patch-kfgame.cpp @@ -0,0 +1,11 @@ +--- src/kfgame.cpp.orig Sat Aug 21 10:04:02 2004 ++++ src/kfgame.cpp Sat Aug 21 10:04:39 2004 +@@ -57,7 +57,7 @@ + } + QPtrList<KFLevel>& KFGame::levelList() { + return m_gameHistory; +-}; ++} + + void KFGame::startLevel( int level, int moves ) { + m_reachedLevel = -1; diff --git a/games/kfreerings/files/patch-kflevel.cpp b/games/kfreerings/files/patch-kflevel.cpp new file mode 100644 index 000000000000..bdb3ac6ae865 --- /dev/null +++ b/games/kfreerings/files/patch-kflevel.cpp @@ -0,0 +1,19 @@ +--- src/kflevel.cpp.orig Sat Aug 21 10:05:41 2004 ++++ src/kflevel.cpp Sat Aug 21 10:05:58 2004 +@@ -79,13 +79,13 @@ + + int KFLevel::getPoints() const { + return m_points; +-}; ++} + int KFLevel::getBonus() const { + return m_bonus; +-}; ++} + int KFLevel::getScore() const { + return m_points + m_bonus; +-}; ++} + int KFLevel::getMaxPoints() const{ + switch ( m_skill ) { + case KFGame::CHILD: |