summaryrefslogtreecommitdiff
path: root/games/daimonin/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/daimonin/files')
-rw-r--r--games/daimonin/files/daimonin.sh.in5
-rw-r--r--games/daimonin/files/patch-configure11
-rw-r--r--games/daimonin/files/patch-src-socket.c13
-rw-r--r--games/daimonin/files/patch-src-uncompr.c11
4 files changed, 0 insertions, 40 deletions
diff --git a/games/daimonin/files/daimonin.sh.in b/games/daimonin/files/daimonin.sh.in
deleted file mode 100644
index 362553462815..000000000000
--- a/games/daimonin/files/daimonin.sh.in
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/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-configure b/games/daimonin/files/patch-configure
deleted file mode 100644
index a874545d966f..000000000000
--- a/games/daimonin/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index b3b066e35bd2..000000000000
--- a/games/daimonin/files/patch-src-socket.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- ../../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(30);
- /* timeout.... without connect will REALLY hang a long time */
- if (start_timer + SOCKET_TIMEOUT_MS < SDL_GetTicks())
- {
diff --git a/games/daimonin/files/patch-src-uncompr.c b/games/daimonin/files/patch-src-uncompr.c
deleted file mode 100644
index 5d1b07b4f201..000000000000
--- a/games/daimonin/files/patch-src-uncompr.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../../src/uncompr.c.orig Sun May 20 02:10:22 2007
-+++ ../../src/uncompr.c Mon Jun 4 11:40:00 2007
-@@ -60,7 +60,7 @@
-
- stream.next_out = dest;
- stream.avail_out = (uInt) * destLen;
-- if ((uLong) stream.avail_out != *destLen)
-+ if ((uLong) stream.avail_out != (uInt) *destLen)
- return Z_BUF_ERROR;
-
- stream.zalloc = (alloc_func) 0;