aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-08-21 16:11:29 +0800
committermarkus <markus@FreeBSD.org>2004-08-21 16:11:29 +0800
commit0e23a49c92b42b332151e70c5017441f8ce47802 (patch)
treefb04caa89870c452bf04f0ecfab25a7b668f27f8 /games
parent58c2106f435d8f6751623492fec904c660e04e61 (diff)
downloadfreebsd-ports-gnome-0e23a49c92b42b332151e70c5017441f8ce47802.tar.gz
freebsd-ports-gnome-0e23a49c92b42b332151e70c5017441f8ce47802.tar.zst
freebsd-ports-gnome-0e23a49c92b42b332151e70c5017441f8ce47802.zip
Fix build with gcc 3.4
Diffstat (limited to 'games')
-rw-r--r--games/kfreerings/files/patch-kfgame.cpp11
-rw-r--r--games/kfreerings/files/patch-kflevel.cpp19
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: