aboutsummaryrefslogtreecommitdiffstats
path: root/games/hangman/files/patch-src-sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hangman/files/patch-src-sound.c')
-rw-r--r--games/hangman/files/patch-src-sound.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/hangman/files/patch-src-sound.c b/games/hangman/files/patch-src-sound.c
new file mode 100644
index 000000000000..07082e513c35
--- /dev/null
+++ b/games/hangman/files/patch-src-sound.c
@@ -0,0 +1,16 @@
+--- src/sound.c.orig Sun Apr 11 01:27:01 2004
++++ src/sound.c Thu Nov 10 05:14:05 2005
+@@ -47,10 +47,12 @@
+ {
+ Mix_Chunk * temp = NULL;
+ char * newname = NULL;
++ int len1, len2;
+
+ assert(name);
+
+- int len1 = strlen(sg_data_path), len2 = strlen(name);
++ len1 = strlen(sg_data_path);
++ len2 = strlen(name);
+
+ if(disabled)
+ return NULL;