summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-28 18:58:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-28 18:58:50 +0000
commit2c4631b76344d6e3b336f0a7a36c1d8ea930bca7 (patch)
tree87178ec0874df28a43c5701641c768575c56d9ed
parentDon't list Data.fs, as it's precious and should not be overwritten when (diff)
- Update to version 1.4.5
Notes
Notes: svn path=/head/; revision=87920
Diffstat (limited to '')
-rw-r--r--games/spacehulk/Makefile2
-rw-r--r--games/spacehulk/distinfo2
-rw-r--r--games/spacehulk/files/patch-src::network.cpp23
-rw-r--r--games/spacehulk/files/patch-src::smtp.cpp20
4 files changed, 45 insertions, 2 deletions
diff --git a/games/spacehulk/Makefile b/games/spacehulk/Makefile
index 9c24c2c5c5b6..177fdba4fe8b 100644
--- a/games/spacehulk/Makefile
+++ b/games/spacehulk/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= spacehulk
-PORTVERSION= 1.4.4
+PORTVERSION= 1.4.5
CATEGORIES= games kde
MASTER_SITES= http://savannah.nongnu.org/download/${PORTNAME}/main.pkg/${PORTVERSION}/
diff --git a/games/spacehulk/distinfo b/games/spacehulk/distinfo
index c83302c2f394..3902561a044c 100644
--- a/games/spacehulk/distinfo
+++ b/games/spacehulk/distinfo
@@ -1 +1 @@
-MD5 (spacehulk-1.4.4.tar.gz) = dc7e8627808803eea1adc3ebe24bb02b
+MD5 (spacehulk-1.4.5.tar.gz) = 2428dfb8604f1f6c84d28aa4a0560174
diff --git a/games/spacehulk/files/patch-src::network.cpp b/games/spacehulk/files/patch-src::network.cpp
new file mode 100644
index 000000000000..f4eef3b80ed2
--- /dev/null
+++ b/games/spacehulk/files/patch-src::network.cpp
@@ -0,0 +1,23 @@
+--- src/network.cpp.orig Mon Aug 25 12:17:02 2003
++++ src/network.cpp Thu Aug 28 20:47:35 2003
+@@ -28,6 +28,7 @@
+ #include <qsocket.h>
+ #include <qstring.h>
+ #include <qtextstream.h>
++#include <ctype.h>
+
+ #include "network.h"
+
+@@ -102,9 +103,9 @@
+ break;
+ response += responseLine;
+ }
+- guicmd->Write(response);
+- }
+- guicmd->Write(responseLine);
++ guicmd->Write(response.latin1());
++}
++guicmd->Write(responseLine.latin1());
+ }
+
+ void NetworkInterface::sendFile(QString &filename, bool initgame)
diff --git a/games/spacehulk/files/patch-src::smtp.cpp b/games/spacehulk/files/patch-src::smtp.cpp
new file mode 100644
index 000000000000..25f64d23b0db
--- /dev/null
+++ b/games/spacehulk/files/patch-src::smtp.cpp
@@ -0,0 +1,20 @@
+--- src/smtp.cpp.orig Thu Aug 21 12:03:45 2003
++++ src/smtp.cpp Thu Aug 28 20:44:12 2003
+@@ -15,6 +15,7 @@
+ #include <qtimer.h>
+ #include <qapplication.h>
+ #include <qmessagebox.h>
++#include <ctype.h>
+
+ #include <iostream>
+ using namespace std;
+@@ -337,9 +338,6 @@
+ char *outp = out;
+ char buf[4];
+
+- if (inlen < 0)
+- inlen = INT_MAX;
+-
+ while (inlen >= 4 && *inp != '\0') {
+ buf[0] = *inp++;
+ inlen--;