diff options
author | jlam <jlam@pkgsrc.org> | 2000-07-28 21:47:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-07-28 21:47:49 +0000 |
commit | 55177032422609465a011178a5e3498809b19704 (patch) | |
tree | 03603b7a561ce4c92c2a4bb825f460fa47f32cf9 /audio/timidity/patches | |
parent | cfeb74eade76c27245ea55e2182aeccab9581634 (diff) | |
download | pkgsrc-55177032422609465a011178a5e3498809b19704.tar.gz |
Make use of new USE_CURSES functionality. Also close PR#10344 by
Ben Collver <collver@softhome.net>.
Diffstat (limited to 'audio/timidity/patches')
-rw-r--r-- | audio/timidity/patches/patch-ab | 10 | ||||
-rw-r--r-- | audio/timidity/patches/patch-ba | 13 | ||||
-rw-r--r-- | audio/timidity/patches/patch-bf | 20 |
3 files changed, 28 insertions, 15 deletions
diff --git a/audio/timidity/patches/patch-ab b/audio/timidity/patches/patch-ab index 127ce2fb524..51f102cbff4 100644 --- a/audio/timidity/patches/patch-ab +++ b/audio/timidity/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.7 1999/11/24 13:49:03 hubertf Exp $ +$NetBSD: patch-ab,v 1.8 2000/07/28 21:47:51 jlam Exp $ ---- Makefile.orig Sun May 26 11:26:46 1996 -+++ Makefile Wed Nov 24 14:50:18 1999 +--- Makefile.orig Sun May 26 05:26:46 1996 ++++ Makefile Fri Jul 28 17:19:20 2000 @@ -24,22 +24,23 @@ # But where to change without revealing my secret identity? @@ -68,8 +68,8 @@ $NetBSD: patch-ab,v 1.7 1999/11/24 13:49:03 hubertf Exp $ SYSEXTRAS += ncurs_c.c -EXTRAINCS += -I/usr/include/ncurses -EXTRALIBS += -lncurses -+EXTRAINCS += -I${PREFIX}/include -+EXTRALIBS += -L${PREFIX}/lib -lncurses -Wl,-R${PREFIX}/lib ++#EXTRAINCS += -I/usr/include/ncurses ++#EXTRALIBS += -lncurses ## Select the S-Lang full-screen interface #SYSTEM += -DIA_SLANG diff --git a/audio/timidity/patches/patch-ba b/audio/timidity/patches/patch-ba index 4717b2c61a9..f75b023be68 100644 --- a/audio/timidity/patches/patch-ba +++ b/audio/timidity/patches/patch-ba @@ -1,17 +1,18 @@ -$NetBSD: patch-ba,v 1.3 2000/04/27 14:44:23 mycroft Exp $ +$NetBSD: patch-ba,v 1.4 2000/07/28 21:47:52 jlam Exp $ --- config.h.orig Sat Jun 1 08:54:49 1996 -+++ config.h Thu Apr 27 10:35:09 2000 -@@ -186,7 +186,7 @@ ++++ config.h Fri Jul 28 17:36:20 2000 +@@ -186,7 +186,8 @@ #define AUDIO_BUFFER_SIZE (1<<AUDIO_BUFFER_BITS) /* Byte order, defined in <machine/endian.h> for FreeBSD and DEC OSF/1 */ -#ifdef DEC +#if defined(DEC) || defined(__NetBSD__) ++#include <sys/types.h> #include <machine/endian.h> #endif -@@ -223,6 +223,14 @@ +@@ -223,6 +224,14 @@ #endif /* DEC MMS has 64 bit long words */ @@ -26,7 +27,7 @@ $NetBSD: patch-ba,v 1.3 2000/04/27 14:44:23 mycroft Exp $ #ifdef DEC typedef unsigned int uint32; typedef int int32; -@@ -234,6 +242,7 @@ +@@ -234,6 +243,7 @@ typedef short int16; typedef unsigned char uint8; typedef char int8; @@ -34,7 +35,7 @@ $NetBSD: patch-ba,v 1.3 2000/04/27 14:44:23 mycroft Exp $ /* Instrument files are little-endian, MIDI files big-endian, so we need to do some conversions. */ -@@ -323,6 +332,18 @@ +@@ -323,6 +333,18 @@ extern char *optarg; #define PI 3.14159265358979323846 #define rindex(s,c) strrchr(s,c) diff --git a/audio/timidity/patches/patch-bf b/audio/timidity/patches/patch-bf index c4ae044c759..b433b696e14 100644 --- a/audio/timidity/patches/patch-bf +++ b/audio/timidity/patches/patch-bf @@ -1,8 +1,20 @@ -$NetBSD: patch-bf,v 1.3 1998/08/07 10:36:17 agc Exp $ +$NetBSD: patch-bf,v 1.4 2000/07/28 21:47:52 jlam Exp $ --- ncurs_c.c.orig Mon May 20 17:27:35 1996 -+++ ncurs_c.c Sat Mar 7 15:03:37 1998 -@@ -354,7 +354,13 @@ ++++ ncurs_c.c Fri Jul 28 17:27:35 2000 +@@ -26,7 +26,11 @@ + #include <unistd.h> + #include <stdarg.h> + ++#ifdef HAVE_NCURSES_H + #include <ncurses.h> ++#else ++#include <curses.h> ++#endif + + #include "config.h" + #include "common.h" +@@ -354,7 +358,13 @@ if (ctl.trace_playing) dftwin=stdscr; else @@ -17,7 +29,7 @@ $NetBSD: patch-bf,v 1.3 1998/08/07 10:36:17 agc Exp $ werase(dftwin); wmove(dftwin, 0,0); -@@ -422,7 +428,7 @@ +@@ -422,7 +432,7 @@ static int ctl_read(int32 *valp) { int c; |