summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormycroft <mycroft>1998-04-03 22:15:02 +0000
committermycroft <mycroft>1998-04-03 22:15:02 +0000
commit1df18561ed010f37bc35d58141a1f8dec220446d (patch)
tree705d7b4ce298760eed549ce00c4c88911ad417de /audio
parentc290e4541f029fdbe76ba20ee492246826f38fca (diff)
downloadpkgsrc-1df18561ed010f37bc35d58141a1f8dec220446d.tar.gz
Mmmm, bzip.
Diffstat (limited to 'audio')
-rw-r--r--audio/mikmod/patches/patch-ag26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/mikmod/patches/patch-ag b/audio/mikmod/patches/patch-ag
new file mode 100644
index 00000000000..e76b27993af
--- /dev/null
+++ b/audio/mikmod/patches/patch-ag
@@ -0,0 +1,26 @@
+--- marchive.c.orig Sat Nov 30 21:55:28 1996
++++ marchive.c Fri Apr 3 17:00:39 1998
+@@ -93,6 +93,10 @@
+ else if(MA_identify(filename,GZ_HEADER_LOCATION,GZ_HEADER_STRING)){
+ sprintf(command_buff,GZ_EXTRACT_COMMAND" %s >%s 2>/dev/null",filename,tmp_file);
+ archive=1;
++ }
++ else if(MA_identify(filename,BZ2_HEADER_LOCATION,BZ2_HEADER_STRING)){
++ sprintf(command_buff,BZ2_EXTRACT_COMMAND" %s >%s 2>/dev/null",filename,tmp_file);
++ archive=1;
+ }
+
+ if(archive){
+--- mikmod.h.orig Sun Dec 29 13:46:39 1996
++++ mikmod.h Fri Apr 3 17:00:11 1998
+@@ -37,6 +37,10 @@
+ #define ARJ_HEADER_LOCATION 1
+ #define ARJ_HEADER_STRING "ê"
+
++#define BZ2_EXTRACT_COMMAND "bzip2 -dc"
++#define BZ2_HEADER_LOCATION 0
++#define BZ2_HEADER_STRING "BZh"
++
+ #define mikversion \
+ "-= MIKMOD v2.14 - Unix development version, 29 Dec 96 =---\n"
+