aboutsummaryrefslogtreecommitdiff
path: root/games/knights-kde4
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2004-08-21 08:36:09 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2004-08-21 08:36:09 +0000
commit1b84fd2c12af6a389ad02f693752799921ae9b6e (patch)
treeeb741cdccba0c85c33399eaccc06d01fcb8c41c9 /games/knights-kde4
parent37fd3342208bc6f76f8ba51b4f00de53c8f268a7 (diff)
downloadports-1b84fd2c12af6a389ad02f693752799921ae9b6e.tar.gz
ports-1b84fd2c12af6a389ad02f693752799921ae9b6e.zip
Notes
Diffstat (limited to 'games/knights-kde4')
-rw-r--r--games/knights-kde4/files/patch-core.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/knights-kde4/files/patch-core.cpp b/games/knights-kde4/files/patch-core.cpp
new file mode 100644
index 000000000000..0fe783deb901
--- /dev/null
+++ b/games/knights-kde4/files/patch-core.cpp
@@ -0,0 +1,26 @@
+--- knights/core.cpp.orig Sat Aug 21 10:14:24 2004
++++ knights/core.cpp Sat Aug 21 10:28:14 2004
+@@ -90,7 +90,7 @@
+ else
+ {
+ /* Use an existing internetIO */
+- (io_base*)internetioPtr = myIOMap.find(Null);
++ internetioPtr = (io_internet*)myIOMap.find(Null);
+ if( internetioPtr == NULL )
+ {
+ kdWarning() << "core::createNewIO: Trying to connect a match to an internetIO that doesn't exsist." << endl;
+@@ -114,12 +114,12 @@
+ }
+ else
+ {
+- (io_base*)internetioPtr = myIOMap.find(ID);
++ internetioPtr = (io_internet*)myIOMap.find(ID);
+ if( internetioPtr == NULL )
+ {
+ /* no io mapped to the ID yet, use the internetio */
+ /* Use an existing internetIO */
+- (io_base*)internetioPtr = myIOMap.find(Null);
++ internetioPtr = (io_internet*)myIOMap.find(Null);
+ if( internetioPtr == NULL )
+ {
+ kdWarning() << "core::createNewIO: Trying to connect a match to an internetIO that doesn't exsist." << endl;