aboutsummaryrefslogtreecommitdiffstats
path: root/games/spacehulk
diff options
context:
space:
mode:
Diffstat (limited to 'games/spacehulk')
-rw-r--r--games/spacehulk/Makefile2
-rw-r--r--games/spacehulk/distinfo2
-rw-r--r--games/spacehulk/files/patch-src::datastoring.cpp13
3 files changed, 15 insertions, 2 deletions
diff --git a/games/spacehulk/Makefile b/games/spacehulk/Makefile
index 747d4f74017f..1291a08fee96 100644
--- a/games/spacehulk/Makefile
+++ b/games/spacehulk/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= spacehulk
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.3
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 565a6897e172..ae02456f610f 100644
--- a/games/spacehulk/distinfo
+++ b/games/spacehulk/distinfo
@@ -1 +1 @@
-MD5 (spacehulk-1.4.2.tar.gz) = 094e280cd9645ac3f2342056dfc94079
+MD5 (spacehulk-1.4.3.tar.gz) = 7bdc457d76be495df9ae28038acaaeca
diff --git a/games/spacehulk/files/patch-src::datastoring.cpp b/games/spacehulk/files/patch-src::datastoring.cpp
new file mode 100644
index 000000000000..53bc1e9abe23
--- /dev/null
+++ b/games/spacehulk/files/patch-src::datastoring.cpp
@@ -0,0 +1,13 @@
+--- src/datastoring.cpp.orig Mon Jul 7 14:36:01 2003
++++ src/datastoring.cpp Mon Jul 7 14:36:49 2003
+@@ -272,8 +272,8 @@
+ infos.smtp = getPref("smtp");
+ infos.yourEmail = getPref("email");
+ infos.opponentEmail = man->email;
+- infos.port = getPref("smtpPort").isEmpty()? "25" : getPref("smtpPort");
+- infos.login = getPref("smtpLogin");
++ infos.port=getPref("smtpPort").isEmpty() ? QString("25") :
++ getPref("smtpPort");
+ infos.password = getPref("smtpPassword");
+ man->guicmd->GetSmtpInfos(&infos);
+ addPref("smtp",infos.smtp);