summaryrefslogtreecommitdiff
path: root/audio/timidity/patches
diff options
context:
space:
mode:
authoraugustss <augustss@pkgsrc.org>1997-10-28 23:18:20 +0000
committeraugustss <augustss@pkgsrc.org>1997-10-28 23:18:20 +0000
commit4daa64a62986fd842753a48935d3c8adf6758d93 (patch)
treecc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/timidity/patches
parent4434fa54eccf4fa0896d9f01cd93c91ab718ec2c (diff)
downloadpkgsrc-4daa64a62986fd842753a48935d3c8adf6758d93.tar.gz
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/timidity/patches')
-rw-r--r--audio/timidity/patches/patch-aa85
-rw-r--r--audio/timidity/patches/patch-ab150
-rw-r--r--audio/timidity/patches/patch-ac40
-rw-r--r--audio/timidity/patches/patch-ad13
4 files changed, 288 insertions, 0 deletions
diff --git a/audio/timidity/patches/patch-aa b/audio/timidity/patches/patch-aa
new file mode 100644
index 00000000000..3f12b08b1ce
--- /dev/null
+++ b/audio/timidity/patches/patch-aa
@@ -0,0 +1,85 @@
+*** config.h.orig Sat Jun 1 16:54:49 1996
+--- config.h Sun Nov 17 10:00:29 1996
+***************
+*** 217,222 ****
+--- 217,238 ----
+ # endif
+ #endif /* linux */
+
++ #ifdef __FreeBSD__
++ #include <errno.h>
++ #include <machine/endian.h>
++ #if BYTE_ORDER == LITTLE_ENDIAN
++ #undef BIG_ENDIAN
++ #undef PDP_ENDIAN
++ #elif BYTE_ORDER == BIG_ENDIAN
++ #undef LITTLE_ENDIAN
++ #undef PDP_ENDIAN
++ #else
++ # error No valid byte sex defined
++ #endif
++ #define USE_LDEXP
++ #define PI M_PI
++ #endif
++
+ /* Win32 on Intel machines */
+ #ifdef __WIN32__
+ # define LITTLE_ENDIAN
+***************
+*** 254,266 ****
+--- 270,292 ----
+ #ifdef LITTLE_ENDIAN
+ #define LE_SHORT(x) x
+ #define LE_LONG(x) x
++ #ifdef __FreeBSD__
++ #define BE_SHORT(x) __byte_swap_word(x)
++ #define BE_LONG(x) __byte_swap_long(x)
++ #else
+ #define BE_SHORT(x) XCHG_SHORT(x)
+ #define BE_LONG(x) XCHG_LONG(x)
++ #endif
+ #else
+ #define BE_SHORT(x) x
+ #define BE_LONG(x) x
++ #ifdef __FreeBSD__
++ #define LE_SHORT(x) __byte_swap_word(x)
++ #define LE_LONG(x) __byte_swap_long(x)
++ #else
+ #define LE_SHORT(x) XCHG_SHORT(x)
+ #define LE_LONG(x) XCHG_LONG(x)
++ #endif
+ #endif
+
+ #define MAX_AMPLIFICATION 800
+*** mix.c.orig Mon May 20 17:09:46 1996
+--- mix.c Sun Nov 17 10:01:36 1996
+***************
+*** 23,29 ****
+--- 23,33 ----
+
+ #include <math.h>
+ #include <stdio.h>
++ #ifdef __FreeBSD__
++ #include <stdlib.h>
++ #else
+ #include <malloc.h>
++ #endif
+
+ #include "config.h"
+ #include "common.h"
+*** resample.c.orig Mon May 20 17:09:47 1996
+--- resample.c Sun Nov 17 09:59:29 1996
+***************
+*** 22,28 ****
+--- 22,32 ----
+
+ #include <math.h>
+ #include <stdio.h>
++ #ifdef __FreeBSD__
++ #include <stdlib.h>
++ #else
+ #include <malloc.h>
++ #endif
+
+ #include "config.h"
+ #include "common.h"
diff --git a/audio/timidity/patches/patch-ab b/audio/timidity/patches/patch-ab
new file mode 100644
index 00000000000..34e8d69c27a
--- /dev/null
+++ b/audio/timidity/patches/patch-ab
@@ -0,0 +1,150 @@
+*** Makefile.orig Sun May 26 13:26:46 1996
+--- Makefile Sun Nov 17 13:09:19 1996
+***************
+*** 24,45 ****
+ # But where to change without revealing my secret identity?
+
+ ########### Compiler and flags.
+! CC = gcc
+! DEBUGFLAGS = -Wall -O2
+
+ ########### Install.
+! INSTALL = /usr/bin/install
+
+ # Where to install the executable
+! BIN_DIR = /usr/local/bin
+
+ # Where to install the manual pages
+! MAN_DIR = /usr/local/man/man1
+
+ # Where to install the patches, config files, and MIDI files.
+ # If you change this, it's a good idea to recompile the binary,
+ # or you'll need to invoke timidity with the -L option.
+! TIMID_DIR = /usr/local/lib/timidity
+
+ # Where to install the Tcl code, if you use the Tcl code that is.
+ TCL_DIR = $(TIMID_DIR)
+--- 24,45 ----
+ # But where to change without revealing my secret identity?
+
+ ########### Compiler and flags.
+! #CC = gcc
+! DEBUGFLAGS = -Wall
+
+ ########### Install.
+! #INSTALL = /usr/bin/install
+
+ # Where to install the executable
+! BIN_DIR = ${PREFIX}/bin
+
+ # Where to install the manual pages
+! MAN_DIR = ${PREFIX}/man/man1
+
+ # Where to install the patches, config files, and MIDI files.
+ # If you change this, it's a good idea to recompile the binary,
+ # or you'll need to invoke timidity with the -L option.
+! TIMID_DIR = ${PREFIX}/lib/timidity
+
+ # Where to install the Tcl code, if you use the Tcl code that is.
+ TCL_DIR = $(TIMID_DIR)
+***************
+*** 93,100 ****
+ # Select the ncurses full-screen interface
+ SYSTEM += -DIA_NCURSES
+ SYSEXTRAS += ncurs_c.c
+! EXTRAINCS += -I/usr/include/ncurses
+! EXTRALIBS += -lncurses
+
+ ## Select the S-Lang full-screen interface
+ #SYSTEM += -DIA_SLANG
+--- 93,100 ----
+ # Select the ncurses full-screen interface
+ SYSTEM += -DIA_NCURSES
+ SYSEXTRAS += ncurs_c.c
+! #EXTRAINCS += -I/usr/include/ncurses
+! EXTRALIBS += -lncurses -lmytinfo
+
+ ## Select the S-Lang full-screen interface
+ #SYSTEM += -DIA_SLANG
+***************
+*** 112,120 ****
+ #EXTRALIBS += -lgen
+
+ # Select the Tcl/Tk interface
+! SYSTEM += -DTCLTK -DWISH=\"wishx\" -DTKPROGPATH=\"$(TCL_DIR)/tkmidity.tcl\"
+! SYSEXTRAS += tk_c.c
+! INST_TK = install.tk
+ #EXTRAINCS +=
+ #EXTRALIBS +=
+
+--- 112,120 ----
+ #EXTRALIBS += -lgen
+
+ # Select the Tcl/Tk interface
+! #SYSTEM += -DTCLTK -DWISH=\"wishx\" -DTKPROGPATH=\"$(TCL_DIR)/tkmidity.tcl\"
+! #SYSEXTRAS += tk_c.c
+! #INST_TK = install.tk
+ #EXTRAINCS +=
+ #EXTRALIBS +=
+
+***************
+*** 136,142 ****
+ SDIST = timidity-lib-$(SUPPVERSION).tar.gz
+ SDISTZIP = tilib$(FNSUPPVERSION).zip
+
+! CFLAGS= $(DEBUGFLAGS) -DDEFAULT_PATH=\"$(TIMID_DIR)\" \
+ -DTIMID_VERSION=\"$(VERSION)\" $(SYSTEM) $(EXTRAINCS)
+
+ ########### All relevant files.. Anybody know autoconf?
+--- 136,142 ----
+ SDIST = timidity-lib-$(SUPPVERSION).tar.gz
+ SDISTZIP = tilib$(FNSUPPVERSION).zip
+
+! CFLAGS+= $(DEBUGFLAGS) -DDEFAULT_PATH=\"$(TIMID_DIR)\" \
+ -DTIMID_VERSION=\"$(VERSION)\" $(SYSTEM) $(EXTRAINCS)
+
+ ########### All relevant files.. Anybody know autoconf?
+***************
+*** 228,237 ****
+ wav2pat: wav2pat.c
+ $(CC) $(CFLAGS) -o wav2pat wav2pat.c
+
+! depends depend dep:
+! $(CC) $(CFLAGS) -MM $(CSRCS) $(OPTSRCS) $(TOOLSRCS) > depends
+!
+! include depends
+
+ ########### Installation targets
+
+--- 228,237 ----
+ wav2pat: wav2pat.c
+ $(CC) $(CFLAGS) -o wav2pat wav2pat.c
+
+! #depends depend dep:
+! # $(CC) $(CFLAGS) -MM $(CSRCS) $(OPTSRCS) $(TOOLSRCS) > depends
+! #
+! #include depends
+
+ ########### Installation targets
+
+***************
+*** 262,270 ****
+ mkdir -p $(TIMID_DIR)
+ $(INSTALL) -m 644 $(CONFIGF) $(TIMID_DIR)
+
+! install.patch: $(PATCHF)
+ mkdir -p $(TIMID_DIR)/patch
+! $(INSTALL) -m 644 $(PATCHF) $(TIMID_DIR)/patch
+
+ install.tk: $(ALLTCLF)
+ $(INSTALL) -m 644 $(ALLTCLF) $(TCL_DIR)
+--- 262,270 ----
+ mkdir -p $(TIMID_DIR)
+ $(INSTALL) -m 644 $(CONFIGF) $(TIMID_DIR)
+
+! install.patch: #$(PATCHF)
+ mkdir -p $(TIMID_DIR)/patch
+! # $(INSTALL) -m 644 $(PATCHF) $(TIMID_DIR)/patch
+
+ install.tk: $(ALLTCLF)
+ $(INSTALL) -m 644 $(ALLTCLF) $(TCL_DIR)
diff --git a/audio/timidity/patches/patch-ac b/audio/timidity/patches/patch-ac
new file mode 100644
index 00000000000..ad4e745c08e
--- /dev/null
+++ b/audio/timidity/patches/patch-ac
@@ -0,0 +1,40 @@
+*** timidity.cfg.bak Mon May 22 02:40:27 1995
+--- timidity.cfg Sun Nov 17 10:50:44 1996
+***************
+*** 34,42 ****
+ # This sets up the default patches in the TiMidity support package
+ # "timidity-lib-0.1.tar.gz":
+
+! bank 0
+! 0 patch/acpiano.pat
+! 24 patch/nylongt2.pat
+
+ ##############################################################################
+ # If you have Dustin McCartney's "wowpats" patches, you can source the
+--- 34,42 ----
+ # This sets up the default patches in the TiMidity support package
+ # "timidity-lib-0.1.tar.gz":
+
+! #bank 0
+! # 0 patch/acpiano.pat
+! # 24 patch/nylongt2.pat
+
+ ##############################################################################
+ # If you have Dustin McCartney's "wowpats" patches, you can source the
+***************
+*** 67,73 ****
+ # Note that midia.cfg sources gravis.cfg in turn, since the filenames are
+ # almost identical.
+ #
+! #source midia.cfg
+ #
+
+
+--- 67,73 ----
+ # Note that midia.cfg sources gravis.cfg in turn, since the filenames are
+ # almost identical.
+ #
+! source midia.cfg
+ #
+
+
diff --git a/audio/timidity/patches/patch-ad b/audio/timidity/patches/patch-ad
new file mode 100644
index 00000000000..6cb4b1fbb2c
--- /dev/null
+++ b/audio/timidity/patches/patch-ad
@@ -0,0 +1,13 @@
+*** gravis.cfg.bak Mon May 20 20:10:15 1996
+--- gravis.cfg Sun Nov 17 12:43:31 1996
+***************
+*** 3,8 ****
+--- 3,10 ----
+ # programs.
+ #
+
++ dir %PREFIX%/lib/timidity/patch
++
+ bank 0
+
+ 0 acpiano