[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH] lbuilds: sdldoom 1.10
! Wenn das lustige Familienspiel keine familienfreundlichen Welten laden
kann, ist es schwierig, sich mit all den Menschen, denen man darin
begegnet, anzufreunden.
Signed-off-by: Max Reitz <max@xxxxxxxxxx>
---
lbuilds/sdldoom/1.10/files/sprintf.patch | 26 ++++++++++++++++++++++++--
lbuilds/sdldoom/1.10/sdldoom-1.10.lbuild | 1 -
2 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/lbuilds/sdldoom/1.10/files/sprintf.patch b/lbuilds/sdldoom/1.10/files/sprintf.patch
index 86377fb..683418f 100644
--- a/lbuilds/sdldoom/1.10/files/sprintf.patch
+++ b/lbuilds/sdldoom/1.10/files/sprintf.patch
@@ -1,7 +1,7 @@
Index: sdldoom-1.10/hu_stuff.c
===================================================================
---- sdldoom-1.10.orig/hu_stuff.c 2011-12-26 00:01:09.000000000 +0100
-+++ sdldoom-1.10/hu_stuff.c 2011-12-26 00:01:27.000000000 +0100
+--- sdldoom-1.10.orig/hu_stuff.c 1999-12-21 06:16:16.000000000 +0100
++++ sdldoom-1.10/hu_stuff.c 2011-12-26 15:24:15.000000000 +0100
@@ -405,7 +405,7 @@
j = HU_FONTSTART;
for (i=0;i<HU_FONTSIZE;i++)
@@ -11,3 +11,25 @@ Index: sdldoom-1.10/hu_stuff.c
hu_font[i] = (patch_t *) W_CacheLumpName(buffer, PU_STATIC);
}
+Index: sdldoom-1.10/wi_stuff.c
+===================================================================
+--- sdldoom-1.10.orig/wi_stuff.c 1999-12-21 06:16:22.000000000 +0100
++++ sdldoom-1.10/wi_stuff.c 2011-12-26 15:31:51.000000000 +0100
+@@ -1577,7 +1577,7 @@
+ PU_STATIC, 0);
+ for (i=0 ; i<NUMCMAPS ; i++)
+ {
+- sprintf(name, "CWILV%2.2d", i);
++ sprintf(name, "CWILV%02d", i);
+ lnames[i] = W_CacheLumpName(name, PU_STATIC);
+ }
+ }
+@@ -1611,7 +1611,7 @@
+ if (wbs->epsd != 1 || j != 8)
+ {
+ // animations
+- sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i);
++ sprintf(name, "WIA%d%02d%02d", wbs->epsd, j, i);
+ a->p[i] = W_CacheLumpName(name, PU_STATIC);
+ }
+ else
diff --git a/lbuilds/sdldoom/1.10/sdldoom-1.10.lbuild b/lbuilds/sdldoom/1.10/sdldoom-1.10.lbuild
index 131e6cf..90906ac 100644
--- a/lbuilds/sdldoom/1.10/sdldoom-1.10.lbuild
+++ b/lbuilds/sdldoom/1.10/sdldoom-1.10.lbuild
@@ -14,7 +14,6 @@ MY_S="${S}/${P}"
src_unpack() {
lunpack ${P}.tar.gz
- mv doom1.wad ${MY_S}
cd ${MY_S}
--
1.7.8.1