aboutsummaryrefslogtreecommitdiff
path: root/games/daimonin/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-05-11 13:52:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-05-11 13:52:05 +0000
commita091103c25a10210b1542b3eebcaef1d66bd1a8f (patch)
tree5d29c8138c62de9d1bf2cdfd43b96af0a6d3df20 /games/daimonin/files
parentfe608702904a930f92d737ecb8c6287117b08eea (diff)
downloadports-a091103c25a10210b1542b3eebcaef1d66bd1a8f.tar.gz
ports-a091103c25a10210b1542b3eebcaef1d66bd1a8f.zip
- Update to 0.9.7.1
PR: ports/123589 Submitted by: Aleksandr Stankevic <alex@braske.net>
Notes
Notes: svn path=/head/; revision=212918
Diffstat (limited to 'games/daimonin/files')
-rw-r--r--games/daimonin/files/daimonin.sh.in1
-rw-r--r--games/daimonin/files/patch-Makefile.in17
-rw-r--r--games/daimonin/files/patch-configure11
-rw-r--r--games/daimonin/files/patch-src-socket.c10
4 files changed, 18 insertions, 21 deletions
diff --git a/games/daimonin/files/daimonin.sh.in b/games/daimonin/files/daimonin.sh.in
index da6f7cce4544..362553462815 100644
--- a/games/daimonin/files/daimonin.sh.in
+++ b/games/daimonin/files/daimonin.sh.in
@@ -1,4 +1,5 @@
#!/bin/sh
+mkdir -p ~/.daimonin
chmod -R +w ~/.daimonin
cp -R %%PREFIX%%/share/daimonin-%%PORTVERSION%%/ ~/.daimonin
cd ~/.daimonin && ./daimonin $*
diff --git a/games/daimonin/files/patch-Makefile.in b/games/daimonin/files/patch-Makefile.in
deleted file mode 100644
index 6bed27ffbe9f..000000000000
--- a/games/daimonin/files/patch-Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.in.orig Sun May 20 02:10:22 2007
-+++ Makefile.in Mon Jun 4 12:13:40 2007
-@@ -787,14 +787,12 @@
- $(MKDIR) -p $(d_datadir)/gfx_user
- $(MKDIR) -p $(d_datadir)/srv_files
- $(MKDIR) -p $(d_datadir)/icons
-- $(MKDIR) -p $(d_datadir)/tools
- $(MKDIR) -p $(d_datadir)/update
- $(CP) ../../sfx/*.* $(d_datadir)/sfx
- $(CP) ../../media/*.* $(d_datadir)/media
- $(CP) ../../cache/*.* $(d_datadir)/cache
- $(CP) ../../icons/*.* $(d_datadir)/icons
- $(CP) ../../srv_files/*.* $(d_datadir)/srv_files
-- $(CP) -R ../../tools/*.* $(d_datadir)/tools
- $(CP) ../../update/version $(d_datadir)/update
- $(CP) ../../gfx_user/*.* $(d_datadir)/gfx_user
- $(CP) ../../bitmaps/*.* $(d_datadir)/bitmaps
diff --git a/games/daimonin/files/patch-configure b/games/daimonin/files/patch-configure
new file mode 100644
index 000000000000..a874545d966f
--- /dev/null
+++ b/games/daimonin/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2008-05-10 13:02:39.000000000 +0300
++++ configure 2008-05-10 13:04:26.000000000 +0300
+@@ -2232,7 +2232,7 @@
+
+ # Define the identity of the package.
+ PACKAGE=daimonin
+- VERSION=0.9.7
++ VERSION=0.9.7.1
+
+
+ cat >>confdefs.h <<_ACEOF
diff --git a/games/daimonin/files/patch-src-socket.c b/games/daimonin/files/patch-src-socket.c
index cff31d624944..b3b066e35bd2 100644
--- a/games/daimonin/files/patch-src-socket.c
+++ b/games/daimonin/files/patch-src-socket.c
@@ -1,11 +1,13 @@
---- ../../src/socket.c.orig Sun May 20 02:10:22 2007
-+++ ../../src/socket.c Thu Jun 7 01:09:08 2007
-@@ -706,6 +706,8 @@
+--- ../../src/socket.c.orig 2008-05-10 13:14:59.000000000 +0300
++++ ../../src/socket.c 2008-05-10 13:15:04.000000000 +0300
+@@ -706,7 +706,9 @@
start_timer = SDL_GetTicks();
while (connect(*socket_temp, (struct sockaddr *) &insock, sizeof(insock)) == -1)
{
+- SDL_Delay(3);
+ // EINPROGRESS leads to EALREADY over few iterations
+ if (errno == EALREADY) break;
- SDL_Delay(3);
++ SDL_Delay(30);
/* timeout.... without connect will REALLY hang a long time */
if (start_timer + SOCKET_TIMEOUT_MS < SDL_GetTicks())
+ {