From 74b6378f0b20bc88d176f4d16f0db95530d7fe44 Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 3 Apr 1998 22:15:02 +0000 Subject: Mmmm, bzip. --- audio/mikmod/patches/patch-ag | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 audio/mikmod/patches/patch-ag 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" + -- cgit v1.2.3