diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-03-23 00:14:34 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-03-23 00:14:34 +0800 |
commit | da3355877d92451b1d7ac1b13608c5856ba5664c (patch) | |
tree | f2b0cbc97637bcc30f74987a4b782f13d53db36b /audio/milkytracker/files | |
parent | d5cb7e4667183727d8c141d03ae49516a71736df (diff) | |
download | freebsd-ports-gnome-da3355877d92451b1d7ac1b13608c5856ba5664c.tar.gz freebsd-ports-gnome-da3355877d92451b1d7ac1b13608c5856ba5664c.tar.zst freebsd-ports-gnome-da3355877d92451b1d7ac1b13608c5856ba5664c.zip |
- Unbreak
- Define NOT_FOR_ARCH instead of BROKEN for powerpc
- Provide a desktop file
Diffstat (limited to 'audio/milkytracker/files')
-rw-r--r-- | audio/milkytracker/files/patch-milkytracker.desktop | 13 | ||||
-rw-r--r-- | audio/milkytracker/files/patch-src__compression__DecompressorGZIP.cpp | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/audio/milkytracker/files/patch-milkytracker.desktop b/audio/milkytracker/files/patch-milkytracker.desktop new file mode 100644 index 000000000000..0d2d70c286d9 --- /dev/null +++ b/audio/milkytracker/files/patch-milkytracker.desktop @@ -0,0 +1,13 @@ +--- ./milkytracker.desktop.orig 2013-03-22 16:45:01.000000000 +0100 ++++ ./milkytracker.desktop 2013-03-22 16:44:53.000000000 +0100 +@@ -0,0 +1,10 @@ ++ ++[Desktop Entry] ++Name=MilkyTracker ++Comment=Module tracker ++Exec=milkytracker %U ++Terminal=false ++Type=Application ++Icon=milkytracker ++StartupNotify=false ++Categories=AudioVideo;Audio;Sequencer; diff --git a/audio/milkytracker/files/patch-src__compression__DecompressorGZIP.cpp b/audio/milkytracker/files/patch-src__compression__DecompressorGZIP.cpp new file mode 100644 index 000000000000..eb5dda2126a6 --- /dev/null +++ b/audio/milkytracker/files/patch-src__compression__DecompressorGZIP.cpp @@ -0,0 +1,18 @@ +--- ./src/compression/DecompressorGZIP.cpp.orig 2013-03-22 15:58:05.955397673 +0100 ++++ ./src/compression/DecompressorGZIP.cpp 2013-03-22 15:59:20.987397134 +0100 +@@ -57,11 +57,13 @@ + + bool DecompressorGZIP::decompress(const PPSystemString& outFileName, Hints hint) + { +- gzFile *gz_input_file = NULL; ++// 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 = (void **)gzopen (fileName.getStrBuffer(), "r")) == NULL) ++ if ((gz_input_file = gzopen (fileName.getStrBuffer(), "r")) == NULL) + return false; + + if ((buf = new pp_uint8[0x10000]) == NULL) |