mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Fix build with gcc 3.4
This commit is contained in:
parent
2079aaa72f
commit
cf7afdc3e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116882
11
games/kfreerings/files/patch-kfgame.cpp
Normal file
11
games/kfreerings/files/patch-kfgame.cpp
Normal file
@ -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;
|
19
games/kfreerings/files/patch-kflevel.cpp
Normal file
19
games/kfreerings/files/patch-kflevel.cpp
Normal file
@ -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:
|
Loading…
Reference in New Issue
Block a user