billiardz: restored the missing gcc4 patch, thanks to Marek Vasut from bug #2051.
authorMichael Krelin <hacker@klever.net>
Wed, 30 May 2007 22:37:10 +0000 (22:37 +0000)
committerMichael Krelin <hacker@klever.net>
Wed, 30 May 2007 22:37:10 +0000 (22:37 +0000)
packages/billiardz/files/.mtn2git_empty [new file with mode: 0644]
packages/billiardz/files/gcc4.patch [new file with mode: 0644]

diff --git a/packages/billiardz/files/.mtn2git_empty b/packages/billiardz/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/billiardz/files/gcc4.patch b/packages/billiardz/files/gcc4.patch
new file mode 100644 (file)
index 0000000..30d7eda
--- /dev/null
@@ -0,0 +1,45 @@
+diff -Naur billiardz-0.1.4-orig/src/ButtonListener.h billiardz-0.1.4/src/ButtonListener.h
+--- billiardz-0.1.4-orig/src/ButtonListener.h  2002-11-05 07:01:51.000000000 +0100
++++ billiardz-0.1.4/src/ButtonListener.h       2007-03-26 21:10:11.000000000 +0200
+@@ -9,6 +9,7 @@
+ {
+       public:
+               virtual void buttonClicked(Button *button) = 0;
++              virtual ~ButtonListener() {}
+ };
+ #endif /* _BUTTONLISTENER_H_ */
+diff -Naur billiardz-0.1.4-orig/src/CueStickListener.h billiardz-0.1.4/src/CueStickListener.h
+--- billiardz-0.1.4-orig/src/CueStickListener.h        2002-09-13 02:02:23.000000000 +0200
++++ billiardz-0.1.4/src/CueStickListener.h     2007-03-26 21:11:14.000000000 +0200
+@@ -12,6 +12,7 @@
+               virtual bool cueBallHit(CueStick *stick, Ball *ball) = 0;
+               virtual void stickMoved(CueStick *stick, Fixed oldAngle,
+                                                               Fixed newAngle) = 0;
++              virtual ~CueStickListener() {}
+ };
+ #endif /* _CUESTICKLISTENER_H_ */
+diff -Naur billiardz-0.1.4-orig/src/PoolGame.h billiardz-0.1.4/src/PoolGame.h
+--- billiardz-0.1.4-orig/src/PoolGame.h        2002-11-05 07:01:36.000000000 +0100
++++ billiardz-0.1.4/src/PoolGame.h     2007-03-26 21:40:58.000000000 +0200
+@@ -6,6 +6,7 @@
+ class Player;
+ class PoolTable;
++class PoolRoom;
+ class Physics;
+ class Rules;
+ class Sprite;
+diff -Naur billiardz-0.1.4-orig/src/main.cpp billiardz-0.1.4/src/main.cpp
+--- billiardz-0.1.4-orig/src/main.cpp  2003-11-03 07:56:29.000000000 +0100
++++ billiardz-0.1.4/src/main.cpp       2007-03-26 23:27:11.000000000 +0200
+@@ -51,7 +51,7 @@
+       return interval;
+ }
+-
++#define SDL_main main
+ #ifdef __cplusplus
+ extern "C" {
+ #endif