From cf7afdc3e5665684145ef642936f2c1290c6a36e Mon Sep 17 00:00:00 2001 From: Markus Brueffer Date: Sat, 21 Aug 2004 08:11:29 +0000 Subject: [PATCH] Fix build with gcc 3.4 --- games/kfreerings/files/patch-kfgame.cpp | 11 +++++++++++ games/kfreerings/files/patch-kflevel.cpp | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 games/kfreerings/files/patch-kfgame.cpp create mode 100644 games/kfreerings/files/patch-kflevel.cpp 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& 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: