summaryrefslogtreecommitdiff
path: root/audio/tfmxplay/patches
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tfmxplay/patches')
-rw-r--r--audio/tfmxplay/patches/patch-aa24
-rw-r--r--audio/tfmxplay/patches/patch-ab16
-rw-r--r--audio/tfmxplay/patches/patch-ac12
3 files changed, 52 insertions, 0 deletions
diff --git a/audio/tfmxplay/patches/patch-aa b/audio/tfmxplay/patches/patch-aa
new file mode 100644
index 00000000000..a277b07b845
--- /dev/null
+++ b/audio/tfmxplay/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+--- Makefile.orig Sat Jun 23 13:33:05 2001
++++ Makefile
+@@ -28,8 +28,8 @@
+
+ OBJS=player.o tfmx.o audio.o
+
+-CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS)
+-LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS)
++#CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS)
++LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS) -lossaudio
+
+
+ BINARY=tfmx-play
+@@ -42,7 +42,7 @@
+ audio.c: player.h
+
+ audio.o: audio.c
+- $(CC) $(CFLAGS) -O3 -fno-strength-reduce -c audio.c -o audio.o $(ALSADEF)
++ $(CC) $(CFLAGS) -c audio.c -o audio.o $(ALSADEF)
+
+ clean:
+ rm -rf *.o $(BINARY)
diff --git a/audio/tfmxplay/patches/patch-ab b/audio/tfmxplay/patches/patch-ab
new file mode 100644
index 00000000000..2b2c2eb8c84
--- /dev/null
+++ b/audio/tfmxplay/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+--- audio.c.orig Mon Mar 12 21:10:49 2001
++++ audio.c
+@@ -4,7 +4,11 @@
+ * 13Mar2000
+ */
+
++#ifdef __NetBSD__
++#include <soundcard.h>
++#else
+ #include <linux/soundcard.h>
++#endif
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
+ #include <stdio.h>
diff --git a/audio/tfmxplay/patches/patch-ac b/audio/tfmxplay/patches/patch-ac
new file mode 100644
index 00000000000..88256bad254
--- /dev/null
+++ b/audio/tfmxplay/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+--- tfmx.c.orig Sat Jun 23 12:55:53 2001
++++ tfmx.c
+@@ -4,7 +4,6 @@
+ * jhp 29Feb96
+ */
+
+-#include <asm/byteorder.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <string.h>