aboutsummaryrefslogtreecommitdiff
path: root/audio/rat30/files
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rat30/files')
-rw-r--r--audio/rat30/files/patch-Makefile21
-rw-r--r--audio/rat30/files/patch-Makefile_FreeBSD_49
-rw-r--r--audio/rat30/files/patch-Makefile_FreeBSD_59
-rw-r--r--audio/rat30/files/patch-aa62
-rw-r--r--audio/rat30/files/patch-ab11
5 files changed, 0 insertions, 112 deletions
diff --git a/audio/rat30/files/patch-Makefile b/audio/rat30/files/patch-Makefile
deleted file mode 100644
index 1141401cb3de..000000000000
--- a/audio/rat30/files/patch-Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile.orig Tue Sep 14 03:39:00 1999
-+++ Makefile Sun Oct 20 14:06:27 2002
-@@ -10,8 +10,8 @@
- # -DDEBUG_RTP -DREPEAT
-
- DEFS += -D$(OSTYPE) -D$(OSTYPE)_$(OSMVER)
--CC = gcc
--CFLAGS = -Wall -Werror -Wno-implicit-int $(INCS) $(DEFS) -g -O -fsigned-char
-+CC ?= cc
-+CFLAGS += -Wall -Wno-implicit-int $(INCS) $(DEFS) -g -fsigned-char
- LDFLAGS=
- LDLIBS= $(LDLIBS) -lm
- RANLIB = ranlib
-@@ -82,6 +82,7 @@
- $(BINDIR)/rat-$(OSTYPE)-$(OSVERS): $(OBJS) $(GSMOBJS) $(CRYPTOBJS) $(RATOBJS)
- rm -f $(BINDIR)/rat-$(OSTYPE)-$(OSVERS)
- $(CC) $(RATOBJS) $(OBJS) $(GSMOBJS) $(CRYPTOBJS) $(LDLIBS) $(LDFLAGS) -o $(BINDIR)/rat-$(OSTYPE)-$(OSVERS)
-+ cp $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) bin/rat
-
- $(OBJDIR)/%.o: $(SRCDIR)/%.c
- $(CC) $(CFLAGS) $(GSMFLAGS) $(CRYPTFLAGS) -c $(SRCDIR)/$*.c -o $(OBJDIR)/$*.o
diff --git a/audio/rat30/files/patch-Makefile_FreeBSD_4 b/audio/rat30/files/patch-Makefile_FreeBSD_4
deleted file mode 100644
index 36c4e87a95d7..000000000000
--- a/audio/rat30/files/patch-Makefile_FreeBSD_4
+++ /dev/null
@@ -1,9 +0,0 @@
---- Makefile_FreeBSD_4.org Mon May 7 13:07:46 2001
-+++ Makefile_FreeBSD_4 Mon May 7 13:03:51 2001
-@@ -0,0 +1,6 @@
-+TCL_INC = /usr/local/include/tcl8.2
-+TK_INC = /usr/local/include/tk8.2
-+INCS = -I/usr/X11R6/include \
-+ -I$(TCL_INC)/generic -I$(TK_INC)/generic
-+LDLIBS = -L/usr/local/lib \
-+ -L/usr/X11R6/lib -ltk82 -ltcl82 -lXext -lX11 -lm
diff --git a/audio/rat30/files/patch-Makefile_FreeBSD_5 b/audio/rat30/files/patch-Makefile_FreeBSD_5
deleted file mode 100644
index 5b74e91d7d6c..000000000000
--- a/audio/rat30/files/patch-Makefile_FreeBSD_5
+++ /dev/null
@@ -1,9 +0,0 @@
---- Makefile_FreeBSD_5.orig Sun Oct 20 14:03:11 2002
-+++ Makefile_FreeBSD_5 Sun Oct 20 14:03:06 2002
-@@ -0,0 +1,6 @@
-+TCL_INC = /usr/local/include/tcl8.2
-+TK_INC = /usr/local/include/tk8.2
-+INCS = -I/usr/X11R6/include \
-+ -I$(TCL_INC)/generic -I$(TK_INC)/generic
-+LDLIBS = -L/usr/local/lib \
-+ -L/usr/X11R6/lib -ltk82 -ltcl82 -lXext -lX11 -lm
diff --git a/audio/rat30/files/patch-aa b/audio/rat30/files/patch-aa
deleted file mode 100644
index 5eb716af785e..000000000000
--- a/audio/rat30/files/patch-aa
+++ /dev/null
@@ -1,62 +0,0 @@
---- ./src/auddev_freebsd.c.orig Sun Oct 20 14:05:07 2002
-+++ ./src/auddev_freebsd.c Sun Oct 20 14:05:16 2002
-@@ -45,7 +45,7 @@
- #include "bat_include.h"
- #ifdef FreeBSD
-
--#include <machine/soundcard.h>
-+#include <sys/soundcard.h>
-
- int can_read = FALSE;
- int can_write = FALSE;
-@@ -204,18 +204,10 @@
- if (audio_fd <= 0) {
- return;
- }
-- switch (iport) {
-- case AUDIO_MICROPHONE : if (ioctl(audio_fd, MIXER_WRITE(SOUND_MIXER_MIC), &volume) == -1) {
-- perror("Setting gain");
-- }
-- return;
-- case AUDIO_LINE_IN : if (ioctl(audio_fd, MIXER_WRITE(SOUND_MIXER_LINE), &volume) == -1) {
-- perror("Setting gain");
-- }
-- return;
-+ if (ioctl(audio_fd, SOUND_MIXER_WRITE_RECLEV, &volume) == -1) {
-+ perror("Setting gain");
- }
-- printf("ERROR: Unknown iport in audio_set_gain!\n");
-- abort();
-+ return;
- }
-
- int
-@@ -226,17 +218,8 @@
- if (audio_fd <= 0) {
- return (0);
- }
-- switch (iport) {
-- case AUDIO_MICROPHONE : if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_MIC), &volume) == -1) {
-- perror("Getting gain");
-- }
-- break;
-- case AUDIO_LINE_IN : if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_LINE), &volume) == -1) {
-- perror("Getting gain");
-- }
-- break;
-- default : printf("ERROR: Unknown iport in audio_set_gain!\n");
-- abort();
-+ if (ioctl(audio_fd, SOUND_MIXER_READ_RECLEV, &volume) == -1) {
-+ perror("Setting gain");
- }
- return device_to_bat(volume & 0xff);
- }
-@@ -263,7 +246,7 @@
- if (audio_fd <= 0) {
- return (0);
- }
-- if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_VOLUME), &volume) == -1) {
-+ if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_PCM), &volume) == -1) {
- perror("Getting volume");
- }
- return device_to_bat(volume & 0x000000ff); /* Extract left channel volume */
diff --git a/audio/rat30/files/patch-ab b/audio/rat30/files/patch-ab
deleted file mode 100644
index 6be58d321a47..000000000000
--- a/audio/rat30/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/config.h.orig Sun Oct 20 14:05:43 2002
-+++ src/config.h Sun Oct 20 14:05:49 2002
-@@ -47,7 +47,7 @@
- #define OSNAME "FreeBSD"
- #include <unistd.h>
- #include <stdlib.h>
--#include <machine/soundcard.h>
-+#include <sys/soundcard.h>
- #define DIFF_BYTE_ORDER 1
- #define AUDIO_SPEAKER 0
- #define AUDIO_HEADPHONE 1