diff options
author | Steve Price <steve@FreeBSD.org> | 1999-05-01 03:25:12 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-05-01 03:25:12 +0000 |
commit | 2aa59dc6ece37de8eb69441d946c8bf663082ce3 (patch) | |
tree | 8c2c06a3b94343f04f8f58e4bcc277b313ed9977 /audio/dap/files/patch-ab | |
parent | Update to version 1.0.6. (diff) |
Update to version 2.0.2.
PR: 10939
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Diffstat (limited to 'audio/dap/files/patch-ab')
-rw-r--r-- | audio/dap/files/patch-ab | 106 |
1 files changed, 12 insertions, 94 deletions
diff --git a/audio/dap/files/patch-ab b/audio/dap/files/patch-ab index 7b5f277e175a..d5a746d0b6f5 100644 --- a/audio/dap/files/patch-ab +++ b/audio/dap/files/patch-ab @@ -1,104 +1,22 @@ ---- main/Makefile.freebsd.orig Wed Sep 16 09:26:42 1998 -+++ main/Makefile.freebsd Wed Sep 16 18:34:39 1998 -@@ -0,0 +1,83 @@ -+CC = gcc -+CXX = g++ -+FORMS = /usr/X11R6/include -+SOUND = ../sound -+SPKIT = ../spkit -+TOOLTIP = ../tooltips -+BACKDIR = ../mainbak -+HOMEDIR = $(HOME) -+INCDIR = -I. -I$(SOUND) -I$(SPKIT) -I$(FORMS) -I$(TOOLTIP) -I/usr/include -+LIBDIR = -L$(SPKIT)/spkit -L$(FORMS) -L$(TOOLTIP) -L/usr/lib -L/usr/X11R6/lib -+CCFLAGS = $(CFLAGS) $(INCDIR) -DLINUX -DUSINGGCC -+LDFLAGS = $(LIBDIR) -ldsp -ltooltips -lxforms -lXpm -lX11 -lm -+ -+PROGS = DAP -+OBJS = DPTich.o DPTich_cb.o DPTich_DSP.o DPTich_edit_cb.o DPTich_macros.o \ -+ DPTich_effect_cb.o DPTich_main.o DPSampleXforms.o DPTich_prefs.o \ -+ DPTich_linux_audio.o DPTich_linux_audiofile.o \ -+ DPTich_linux_macros.o DPTich_linux_ieee.o \ -+ $(SOUND)/DPSample.o $(SOUND)/DPResample.o $(SOUND)/DPMixPlay.o \ -+ DPCrossButton.o -+ -+.c.o: -+ $(CC) $(CCFLAGS) -c $*.c -o $*.o -+ -+.cc.o: -+ $(CXX) $(CCFLAGS) -c $*.cc -o $*.o -+ -+all: $(PROGS) -+ -+DAP: $(OBJS) -+ $(CXX) $(OBJS) -o DAP $(LDFLAGS) -+ -+clean: -+ -rm -f $(OBJS) core -+ -+empty: -+ -rm -f $(OBJS) $(PROGS) core -+ -+back: -+ "cp" *.c $(BACKDIR) -+ "cp" *.cc $(BACKDIR) -+ "cp" *.h $(BACKDIR) -+ "cp" *.fd $(BACKDIR) -+ "cp" icons/*.gif $(BACKDIR)/icons -+ "cp" icons/*.xpm $(BACKDIR)/icons -+ "cp" Makefile.* $(BACKDIR) -+ lha a $(HOMEDIR)/tich3.lzh *.c *.cc *.h *.fd icons/*.gif icons/*.xpm \ -+ Makefile.* -+ -+restore: -+ lha x $(HOMEDIR)/tich3.lzh -+ -+print: -+ a2ps \ -+ DPTich_main.h \ -+ DPTich_main.cc \ -+ DPTich_prefs.h \ -+ DPTich_prefs.cc \ -+ DPTich_macros.h \ -+ DPTich_macros.cc \ -+ DPTich_cb.h \ -+ DPTich_cb.cc \ -+ DPTich_edit_cb.cc \ -+ DPTich_effect_cb.cc \ -+ DPTich_effect.h \ -+ DPTich_DSP.h \ -+ DPTich_DSP.cc \ -+ DPTich_linux_macros.h \ -+ DPTich_linux_macros.c \ -+ DPTich_linux_audio.h \ -+ DPTich_linux_audio.c \ -+ DPTich_linux_audiofile.h \ -+ DPTich_linux_audiofile.c \ -+ DPTich_linux_ieee.h \ -+ DPTich_linux_ieee.c \ -+ DPSampleXforms.h \ -+ DPSampleXforms.cc \ -+ DPCrossButton.h \ -+ DPCrossButton.c \ -+ DPTich.h \ -+ DPTich.c \ -+ Makefile.* \ -+ >$(HOMEDIR)/tich3.ps ---- main/DPTich_linux_audio.h.orig Wed Sep 16 18:40:00 1998 -+++ main/DPTich_linux_audio.h Wed Sep 16 18:43:04 1998 -@@ -23,7 +23,11 @@ - #define _DPTich_linux_audio_h +Index: libaudio/audio.h +@@ -17,13 +17,15 @@ + | + ****************************************************************************/ + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + + #ifndef _audio_h + #define _audio_h #include <stdio.h> -+#ifdef __FreeBSD__ -+#include <stdio.h> -+#else ++#ifndef __FreeBSD__ #include <malloc.h> +#endif #include <unistd.h> #include <fcntl.h> #include <limits.h> -@@ -31,7 +35,11 @@ +@@ -31,7 +33,11 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> |