summaryrefslogtreecommitdiff
path: root/community/milkytracker/arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/milkytracker/arch.patch')
-rw-r--r--community/milkytracker/arch.patch31
1 files changed, 9 insertions, 22 deletions
diff --git a/community/milkytracker/arch.patch b/community/milkytracker/arch.patch
index 3f5cb16cb..f7ade306f 100644
--- a/community/milkytracker/arch.patch
+++ b/community/milkytracker/arch.patch
@@ -203,35 +203,22 @@ diff -c -x .svn milkytracker-0.90.85/docs/MilkyTracker.html milkytracker-trunk/d
Only in milkytracker-0.90.85/docs/: MilkyTracker.rtf
---- milkytracker-0.90.85/src/compression/DecompressorGZIP.cpp 2009-04-17 22:34:16.000000000 +0200
-+++ milkytracker-trunk/src/compression/DecompressorGZIP.cpp 2012-02-20 20:24:49.161937553 +0100
-@@ -61,7 +61,7 @@
+--- x/src/compression/DecompressorGZIP.cpp 2012-08-28 17:54:46.000000000 +0200
++++ y/src/compression/DecompressorGZIP.cpp 2012-08-28 17:55:21.000000000 +0200
+@@ -57,11 +57,11 @@
+
+ bool DecompressorGZIP::decompress(const PPSystemString& outFileName, Hints hint)
+ {
+- gzFile *gz_input_file = NULL;
++ gzFile gz_input_file = NULL;
int len = 0;
pp_uint8 *buf;
- if ((gz_input_file = (void **)gzopen (fileName.getStrBuffer(), "r")) == NULL)
-+ if ((gz_input_file = (gzFile*)gzopen (fileName.getStrBuffer(), "r")) == NULL)
++ if ((gz_input_file = gzopen (fileName.getStrBuffer(), "r")) == NULL)
return false;
if ((buf = new pp_uint8[0x10000]) == NULL)
-@@ -71,7 +71,7 @@
-
- while (true)
- {
-- len = gzread (gz_input_file, buf, 0x10000);
-+ len = gzread (*gz_input_file, buf, 0x10000);
-
- if (len < 0)
- {
-@@ -84,7 +84,7 @@
- fOut.write(buf, 1, len);
- }
-
-- if (gzclose (gz_input_file) != Z_OK)
-+ if (gzclose (*gz_input_file) != Z_OK)
- {
- delete[] buf;
- return false;
diff -cx .svn milkytracker-0.90.85/src/milkyplay/drivers/jack/AudioDriver_JACK.cpp milkytracker-trunk/src/milkyplay/drivers/jack/AudioDriver_JACK.cpp
*** milkytracker-0.90.85/src/milkyplay/drivers/jack/AudioDriver_JACK.cpp 2009-03-28 11:19:41.392162000 +0000
--- milkytracker-trunk/src/milkyplay/drivers/jack/AudioDriver_JACK.cpp 2010-01-03 18:48:15.616918068 +0000