aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gsi
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gsi')
-rw-r--r--audio/gsi/Makefile57
-rw-r--r--audio/gsi/distinfo2
-rw-r--r--audio/gsi/files/configure.sh27
-rw-r--r--audio/gsi/files/patch-aa18
-rw-r--r--audio/gsi/files/patch-ac33
-rw-r--r--audio/gsi/files/patch-ad33
-rw-r--r--audio/gsi/files/patch-ae29
-rw-r--r--audio/gsi/files/patch-af19
-rw-r--r--audio/gsi/files/patch-ag29
-rw-r--r--audio/gsi/files/patch-ah20
-rw-r--r--audio/gsi/files/patch-ai20
-rw-r--r--audio/gsi/files/patch-aj29
-rw-r--r--audio/gsi/files/patch-al35
-rw-r--r--audio/gsi/files/patch-am20
-rw-r--r--audio/gsi/files/patch-an20
-rw-r--r--audio/gsi/files/patch-ap20
-rw-r--r--audio/gsi/files/patch-aq20
-rw-r--r--audio/gsi/files/patch-ar20
-rw-r--r--audio/gsi/files/patch-as20
-rw-r--r--audio/gsi/files/patch-au20
-rw-r--r--audio/gsi/files/patch-av20
-rw-r--r--audio/gsi/files/patch-aw11
-rw-r--r--audio/gsi/files/patch-lib-gsif-sample_convert_block.c44
-rw-r--r--audio/gsi/files/patch-lib::gsif::io.c13
-rw-r--r--audio/gsi/files/patch-lib::gsimidi_pcm::instrument::patchgram.y10
-rw-r--r--audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c10
-rw-r--r--audio/gsi/files/patch-lib::gsmimidi_pcm::midi_to_pcm.c11
-rw-r--r--audio/gsi/files/patch-server::io.h15
-rw-r--r--audio/gsi/pkg-descr20
-rw-r--r--audio/gsi/pkg-message6
-rw-r--r--audio/gsi/pkg-plist58
31 files changed, 0 insertions, 709 deletions
diff --git a/audio/gsi/Makefile b/audio/gsi/Makefile
deleted file mode 100644
index e56f75ba2ceb..000000000000
--- a/audio/gsi/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-# Created by: Sean Farley <sean-freebsd@farley.org>
-# $FreeBSD$
-
-PORTNAME= gsi
-PORTVERSION= 0.9.6
-PORTREVISION= 1
-CATEGORIES= audio
-MASTER_SITES= SF/${PORTNAME}/GSI%20Current/v${PORTVERSION}
-
-MAINTAINER= gahr@FreeBSD.org
-COMMENT= General sound interface
-
-USE_BZIP2= yes
-NO_STAGE= yes
-USES= gmake
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" MYFLAGS="${CFLAGS}" OPTIMIZE=""
-USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
-
-MANCOMPRESSED= no
-
-MAN1= gsifile.1 gsiplay.1
-MAN3= gsi.3 gsi_commands.3 gsi_events.3 gsif.3 gsipcm.3
-MAN5= gsi.conf.5
-MAN7= gsi_overview.7
-MAN8= gsi_server.8
-
-post-extract:
- @${RM} -f ${WRKSRC}/lib/include/gsi/gsisynth.h
-
-post-patch:
-.for f in lib/device/gsimixer/api/mixer_fbsd.c \
- lib/device/gsipcm/api/pcm_fbsd.c
- @${REINPLACE_CMD} -e \
- 's|machine/soundcard.h|sys/soundcard.h|g' ${WRKSRC}/${f}
-.endfor
-.for f in server/FINISH_host_allow.c server/client.c server/conf.c
- @${REINPLACE_CMD} -e \
- 's|"/etc/|"${PREFIX}/etc/|g' ${WRKSRC}/${f}
-.endfor
-
-do-configure:
- @${SH} ${FILESDIR}/configure.sh ${PREFIX} ${WRKSRC}
-
-post-install:
- @${INSTALL_DATA} ${WRKSRC}/server/conf/gsi.conf.fbsd \
- ${PREFIX}/etc/gsi.conf.sample
-.for fileNdx in gsi_server gsifile gsiplay
- @${STRIP_CMD} ${PREFIX}/bin/${fileNdx}
-.endfor
- @${ECHO_MSG} "A sample configuration file was installed as" \
- ${PREFIX}/etc/gsi.conf.sample.
- @${ECHO_MSG} "Copy and edit it to fit the system."
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/audio/gsi/distinfo b/audio/gsi/distinfo
deleted file mode 100644
index 04a8b3d42999..000000000000
--- a/audio/gsi/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gsi-0.9.6.tar.bz2) = fc785f90aa9f2f520a0dd5ff1d42fb5ee283d482b6323ab1c4586944a27a05a9
-SIZE (gsi-0.9.6.tar.bz2) = 376104
diff --git a/audio/gsi/files/configure.sh b/audio/gsi/files/configure.sh
deleted file mode 100644
index 765ad29912fb..000000000000
--- a/audio/gsi/files/configure.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-PREFIX=$1
-SYSCONFSCRIPT=Config/Configure_system.sh
-APPCONFSCRIPT=Config/Configure_application.sh
-
-# Change to the work directory.
-cd $2
-
-# Execute two configure scripts while piping the output to /dev/null.
-# This is because the output looks somewhat mashed.
-echo -n "Executing ${SYSCONFSCRIPT}... "
-${SYSCONFSCRIPT} << _E_O_M_ > /dev/null 2>&1
-0
-${PREFIX}
-_E_O_M_
-echo "done."
-
-echo -n "Executing ${APPCONFSCRIPT}... "
-${APPCONFSCRIPT} << _E_O_M2_ > /dev/null 2>&1
-3
-
-
-
-
-_E_O_M2_
-echo "done."
diff --git a/audio/gsi/files/patch-aa b/audio/gsi/files/patch-aa
deleted file mode 100644
index 1a6c0840ad46..000000000000
--- a/audio/gsi/files/patch-aa
+++ /dev/null
@@ -1,18 +0,0 @@
---- ../gsi/Config/Choose.sh Wed Jan 5 09:32:05 2000
-+++ ./Config/Choose.sh Thu Dec 7 18:59:20 2000
-@@ -7,15 +7,6 @@
-
- prompt=$1
- default=$2
--if [ "$default" != "" ]; then
-- default="[$default]"
--fi
--if [ "`echo '\c'`" != "" ]; then
-- echo -e "$prompt $default \c" >/dev/tty
--else
-- echo -ne "$prompt $default " >/dev/tty
--fi
--#echo -e $prompt [$default] >/dev/tty
- read answer
- if [ "$answer" = "" ]; then
- echo $2
diff --git a/audio/gsi/files/patch-ac b/audio/gsi/files/patch-ac
deleted file mode 100644
index 411cbcdb76a9..000000000000
--- a/audio/gsi/files/patch-ac
+++ /dev/null
@@ -1,33 +0,0 @@
---- applications/file/Makefile.orig Wed Dec 6 16:30:51 2000
-+++ applications/file/Makefile Fri May 16 17:19:09 2003
-@@ -23,7 +23,7 @@
-
- INCLUDES = -I../../lib/include
-
--CFLAGS = -O2 -fomit-frame-pointer -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -38,7 +38,7 @@
- INSTALL_FILE = $(BINDIR)/$(PRG)
-
- CURRENT_GSI_LIBS= -L../../lib/gsif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsif -lm
-+LIBS = $(CURRENT_GSI_LIBS) -lgsif -lm
-
-
- #-----------------------------------------------------------------------------#
-@@ -64,10 +64,10 @@
- install: $(PRG) install.man
- cp -f $(PRG) $(INSTALL_FILE) #$(INSTALL_DIR)
-
--install.man: doc/gsifile.1
-+install.man: doc/man1/gsifile.1
- @echo
- @echo "Installing gsifile man page:"
-- cp -f doc/*.1 $(MANDIR)/man1/
-+ cp -f doc/man1/*.1 $(MANDIR)/man1/
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-ad b/audio/gsi/files/patch-ad
deleted file mode 100644
index 4330864d1b4c..000000000000
--- a/audio/gsi/files/patch-ad
+++ /dev/null
@@ -1,33 +0,0 @@
---- applications/player/Makefile.orig Tue Dec 19 02:31:29 2000
-+++ applications/player/Makefile Fri May 16 17:12:31 2003
-@@ -23,7 +23,7 @@
-
- INCLUDES = -I../../lib/include
-
--CFLAGS = -O2 -fomit-frame-pointer -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -43,7 +43,7 @@
- else
- CURSES = ncurses
- endif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-
-
- #-----------------------------------------------------------------------------#
-@@ -69,10 +69,10 @@
- install: $(PRG) install.man
- cp -f $(PRG) $(INSTALL_FILE)
-
--install.man: doc/gsiplay.1
-+install.man: doc/man1/gsiplay.1
- @echo
- @echo "Installing gsiplay man page:"
-- cp -f doc/gsiplay.1 $(MANDIR)/man1/
-+ cp -f doc/man1/gsiplay.1 $(MANDIR)/man1/
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-ae b/audio/gsi/files/patch-ae
deleted file mode 100644
index 69a2d4dd9be0..000000000000
--- a/audio/gsi/files/patch-ae
+++ /dev/null
@@ -1,29 +0,0 @@
---- lib/gsi/Makefile.orig Tue Jan 30 21:10:30 2001
-+++ lib/gsi/Makefile Fri May 16 16:43:36 2003
-@@ -23,7 +23,7 @@
- STATIC_LIB = libgsi.a
- DYNAMIC_LIB = libgsi.so
- LIB_NAME = $(LIBGSI)
--VERSION = .0.2
-+VERSION = .0
- LIB_OBJS = connect.o event.o functions.o io.o utils.o log.o
-
-
-@@ -31,7 +31,7 @@
-
- INCLUDES = -I../include
-
--WARN = -Wall -Wstrict-prototypes
-+WARN = -Wall #-Wstrict-prototypes
-
- MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
-
-@@ -132,7 +132,7 @@
-
-
- install.man:
-- cp -f doc/*.3 $(MANDIR)/man3/
-+ cp -f doc/man3/*.3 $(MANDIR)/man3/
-
- uninstall:
- rm -f $(INSTALL_FILE)
diff --git a/audio/gsi/files/patch-af b/audio/gsi/files/patch-af
deleted file mode 100644
index 1ec7206301f4..000000000000
--- a/audio/gsi/files/patch-af
+++ /dev/null
@@ -1,19 +0,0 @@
---- lib/device/gsicd/Makefile.orig Tue Jan 30 21:12:12 2001
-+++ lib/device/gsicd/Makefile Fri May 16 16:58:53 2003
-@@ -23,14 +23,14 @@
- STATIC_LIB = libgsicd.a
- DYNAMIC_LIB = libgsicd.so
- LIB_NAME = $(LIBGSICD)
--VERSION = .0.1
-+VERSION = .0
- LIB_OBJS = cd_functions.o utils.o event.o log.o
-
-
-
- INCLUDES = -I../../include
-
--WARN = -Wall -Wstrict-prototypes
-+WARN = -Wall #-Wstrict-prototypes
-
- MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
-
diff --git a/audio/gsi/files/patch-ag b/audio/gsi/files/patch-ag
deleted file mode 100644
index 01f2ff23dd10..000000000000
--- a/audio/gsi/files/patch-ag
+++ /dev/null
@@ -1,29 +0,0 @@
---- lib/gsif/Makefile.orig Tue Jan 30 16:23:10 2001
-+++ lib/gsif/Makefile Fri May 16 16:44:47 2003
-@@ -23,7 +23,7 @@
- STATIC_LIB = libgsif.a
- DYNAMIC_LIB = libgsif.so
- LIB_NAME = $(LIBGSIF)
--VERSION = .0.2
-+VERSION = .0
- LIB_OBJS = io.o log.o error.o \
- formats.o \
- \
-@@ -36,7 +36,7 @@
-
- INCLUDES = -I../include
-
--WARN = -Wall -Wstrict-prototypes
-+WARN = -Wall #-Wstrict-prototypes
-
- MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
-
-@@ -101,7 +101,7 @@
-
-
- install.man:
-- cp doc/*.3 $(MANDIR)/man3/
-+ cp doc/man3/*.3 $(MANDIR)/man3/
-
- uninstall:
- rm -f $(INSTALL_FILE)
diff --git a/audio/gsi/files/patch-ah b/audio/gsi/files/patch-ah
deleted file mode 100644
index 839a7245feda..000000000000
--- a/audio/gsi/files/patch-ah
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/gsimidi_pcm/Makefile.orig Mon Jan 8 19:49:16 2001
-+++ lib/gsimidi_pcm/Makefile Fri May 16 16:47:01 2003
-@@ -23,7 +23,7 @@
- STATIC_LIB = libgsimidi_pcm.a
- DYNAMIC_LIB = libgsimidi_pcm.so
- LIB_NAME = $(LIBGSIMIDI_PCM)
--VERSION = .2.0
-+VERSION = .2
- LIB_SRCS = instrument/patchgram.c instrument/patchlex.c
- LIB_OBJS = gsimidi_pcm.o midi_to_pcm.o midi_parse.o midi_init.o midi_data.o \
- input/midi_file.o input/midi_stream.o volume.o \
-@@ -38,7 +38,7 @@
- INSTRUM_DIR = $(SHRDIR)/gsi/gsimidi_pcm
- INSTRUM_MAP = $(INSTRUM_DIR)/patch.mp
-
--DEBUG_FLAGS = -Wall -Wstrict-prototypes #-DKPMIDI_DEBUG #-g
-+DEBUG_FLAGS = -Wall #-Wstrict-prototypes #-DKPMIDI_DEBUG #-g
-
- # Comment out the following line if you do not want to use the GPL'ed GUS
- # patch reading code:
diff --git a/audio/gsi/files/patch-ai b/audio/gsi/files/patch-ai
deleted file mode 100644
index ab272c11ef5f..000000000000
--- a/audio/gsi/files/patch-ai
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/device/gsimixer/Makefile.orig Mon Jan 15 01:13:55 2001
-+++ lib/device/gsimixer/Makefile Fri May 16 17:22:30 2003
-@@ -23,7 +23,7 @@
- STATIC_LIB = libgsimixer.a
- DYNAMIC_LIB = libgsimixer.so
- LIB_NAME = $(LIBGSIMIXER)
--VERSION = .0.1
-+VERSION = .0
- LIB_OBJS = gsimixer.o log.o
-
-
-@@ -31,7 +31,7 @@
-
- INCLUDES = -I../../include
-
--WARN = -Wall -Wstrict-prototypes
-+WARN = -Wall #-Wstrict-prototypes
-
- MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
-
diff --git a/audio/gsi/files/patch-aj b/audio/gsi/files/patch-aj
deleted file mode 100644
index cbd0eea36d44..000000000000
--- a/audio/gsi/files/patch-aj
+++ /dev/null
@@ -1,29 +0,0 @@
---- lib/device/gsipcm/Makefile.orig Tue Jan 30 21:14:16 2001
-+++ lib/device/gsipcm/Makefile Fri May 16 16:42:32 2003
-@@ -23,7 +23,7 @@
- STATIC_LIB = libgsipcm.a
- DYNAMIC_LIB = libgsipcm.so
- LIB_NAME = $(LIBGSIPCM)
--VERSION = .0.1
-+VERSION = .0
- LIB_OBJS = pcm_functions.o log.o
-
-
-@@ -31,7 +31,7 @@
-
- INCLUDES = -I../../include
-
--WARN = -Wall -Wstrict-prototypes
-+WARN = -Wall #-Wstrict-prototypes
-
- MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
-
-@@ -95,7 +95,7 @@
-
-
- install.man:
-- cp doc/*.3 $(MANDIR)/man3/
-+ cp doc/man3/*.3 $(MANDIR)/man3/
-
- uninstall:
- rm -f $(INSTALL_FILE)
diff --git a/audio/gsi/files/patch-al b/audio/gsi/files/patch-al
deleted file mode 100644
index b16599dea4ae..000000000000
--- a/audio/gsi/files/patch-al
+++ /dev/null
@@ -1,35 +0,0 @@
---- server/Makefile.orig Tue Jan 30 13:05:51 2001
-+++ server/Makefile Fri May 16 16:36:47 2003
-@@ -23,7 +23,7 @@
-
- DEFINES =
-
--WARN = -Wall -Wstrict-prototypes
-+WARN = -Wall #-Wstrict-prototypes
-
- CFLAGS = $(DEBUG) $(OPTIMIZE) $(WARN)
-
-@@ -102,20 +102,14 @@
- @echo
- @echo "Installing the server:"
- cp $(GSI_SERVER) $(INSTALL_FILE)
-- @echo
-- @echo "Don't forget to place a line in /etc/services, like this:"
-- @echo "gsi_server 9000/tcp # Shared 3d sound server"
-- @echo "if you want to be able to run the server over a network."
-- @echo "[ note the security implications, see the documentation ]"
--
-
--install.man: doc/gsi_server.8 doc/gsi.conf.5
-+install.man: doc/man8/gsi_server.8 doc/man5/gsi.conf.5
- @echo
- @echo "Installing gsi_server man page:"
-- cp -f doc/gsi_server.8 $(MANDIR)/man8/
-+ cp -f doc/man8/gsi_server.8 $(MANDIR)/man8/
- @echo
- @echo "Installing gsi.conf man page:"
-- cp -f doc/gsi.conf.5 $(MANDIR)/man5/
-+ cp -f doc/man5/gsi.conf.5 $(MANDIR)/man5/
-
-
- uninstall.man:
diff --git a/audio/gsi/files/patch-am b/audio/gsi/files/patch-am
deleted file mode 100644
index 3a8cae884400..000000000000
--- a/audio/gsi/files/patch-am
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/device/gsicd/Makefile.orig Thu Dec 28 04:00:45 2000
-+++ test/device/gsicd/Makefile Fri May 16 17:08:09 2003
-@@ -21,7 +21,7 @@
- #-----------------------------------------------------------------------------#
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -35,7 +35,7 @@
-
-
- CURRENT_GSI_LIBS= -L../../../lib/device/gsicd
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsicd $(EXTRALIBS_CD)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsicd $(EXTRALIBS_CD)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-an b/audio/gsi/files/patch-an
deleted file mode 100644
index 16daf43c7ed9..000000000000
--- a/audio/gsi/files/patch-an
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/gsif/Makefile.orig Tue Jan 30 16:38:07 2001
-+++ test/gsif/Makefile Fri May 16 17:09:57 2003
-@@ -20,7 +20,7 @@
- #-----------------------------------------------------------------------------#
- INCLUDES = -I../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
-
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-@@ -40,7 +40,7 @@
- DEPEND = .depend
-
- CURRENT_GSI_LIBS= -L../../lib/gsif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsif
-+LIBS = $(CURRENT_GSI_LIBS) -lgsif
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-ap b/audio/gsi/files/patch-ap
deleted file mode 100644
index 90f877447909..000000000000
--- a/audio/gsi/files/patch-ap
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/device/gsimixer/Makefile.orig Wed Dec 6 16:32:21 2000
-+++ test/device/gsimixer/Makefile Fri May 16 17:09:12 2003
-@@ -21,7 +21,7 @@
- #-----------------------------------------------------------------------------#
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -32,7 +32,7 @@
-
-
- CURRENT_GSI_LIBS= -L../../../lib/device/gsimixer
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsimixer $(EXTRALIBS_MIXER)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsimixer $(EXTRALIBS_MIXER)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-aq b/audio/gsi/files/patch-aq
deleted file mode 100644
index b1531af0f635..000000000000
--- a/audio/gsi/files/patch-aq
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/device/gsipcm/Makefile.orig Wed Dec 6 16:32:26 2000
-+++ test/device/gsipcm/Makefile Fri May 16 16:52:33 2003
-@@ -21,7 +21,7 @@
- #-----------------------------------------------------------------------------#
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -32,7 +32,7 @@
-
-
- CURRENT_GSI_LIBS= -L../../../lib/device/gsipcm -L../../../lib/gsif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsipcm -lgsif $(EXTRALIBS_PCM)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsipcm -lgsif $(EXTRALIBS_PCM)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-ar b/audio/gsi/files/patch-ar
deleted file mode 100644
index de4951830798..000000000000
--- a/audio/gsi/files/patch-ar
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/server/memory_leak/Makefile.orig Thu Dec 28 02:59:47 2000
-+++ test/server/memory_leak/Makefile Fri May 16 16:53:49 2003
-@@ -23,7 +23,7 @@
-
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -44,7 +44,7 @@
- else
- CURSES = ncurses
- endif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-
- #-----------------------------------------------------------------------------#
- # Targets
diff --git a/audio/gsi/files/patch-as b/audio/gsi/files/patch-as
deleted file mode 100644
index f8539e5da559..000000000000
--- a/audio/gsi/files/patch-as
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/server/general/Makefile.orig Tue Jan 2 09:22:00 2001
-+++ test/server/general/Makefile Fri May 16 16:54:46 2003
-@@ -23,7 +23,7 @@
-
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -42,7 +42,7 @@
- else
- CURSES = ncurses
- endif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-au b/audio/gsi/files/patch-au
deleted file mode 100644
index f2d4c347e8ba..000000000000
--- a/audio/gsi/files/patch-au
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/server/stream/Makefile.orig Wed Dec 6 16:32:56 2000
-+++ test/server/stream/Makefile Fri May 16 16:55:55 2003
-@@ -23,7 +23,7 @@
-
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
-
-
-@@ -42,7 +42,7 @@
- else
- CURSES = ncurses
- endif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-av b/audio/gsi/files/patch-av
deleted file mode 100644
index 3c08c98d273d..000000000000
--- a/audio/gsi/files/patch-av
+++ /dev/null
@@ -1,20 +0,0 @@
---- test/server/threads/Makefile.orig Wed Dec 6 16:33:01 2000
-+++ test/server/threads/Makefile Fri May 16 16:57:21 2003
-@@ -24,7 +24,7 @@
-
- INCLUDES = -I../../../lib/include
-
--CFLAGS = -O2 -DDEBUG -g -Wall
-+CFLAGS += -Wall -DDEBUG
- ifeq ($(OS), OpenBSD)
- ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS) -pthread
- else
-@@ -50,7 +50,7 @@
- else
- CURSES = ncurses
- endif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif $(SYSCONFIG_THREADS_LFLAGS) -l$(CURSES) $(EXTRALIBS)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif $(SYSCONFIG_THREADS_LFLAGS) -l$(CURSES) $(EXTRALIBS)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-aw b/audio/gsi/files/patch-aw
deleted file mode 100644
index 66dcdf495473..000000000000
--- a/audio/gsi/files/patch-aw
+++ /dev/null
@@ -1,11 +0,0 @@
---- test/gsimidi_pcm/Makefile.orig Tue Jan 2 09:42:20 2001
-+++ test/gsimidi_pcm/Makefile Fri May 16 17:15:09 2003
-@@ -33,7 +33,7 @@
-
-
- CURRENT_GSI_LIBS= -L../../lib/device/gsipcm -L../../lib/gsimidi_pcm -L../../lib/gsif
--LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsipcm -lgsimidi_pcm -lgsif -lm $(EXTRALIBS_PCM)
-+LIBS = $(CURRENT_GSI_LIBS) -lgsipcm -lgsimidi_pcm -lgsif -lm $(EXTRALIBS_PCM)
-
-
- #-----------------------------------------------------------------------------#
diff --git a/audio/gsi/files/patch-lib-gsif-sample_convert_block.c b/audio/gsi/files/patch-lib-gsif-sample_convert_block.c
deleted file mode 100644
index 54b78b13e4cb..000000000000
--- a/audio/gsi/files/patch-lib-gsif-sample_convert_block.c
+++ /dev/null
@@ -1,44 +0,0 @@
---- lib/gsif/sample/convert_block.c.orig 2001-01-30 13:28:09.000000000 +0100
-+++ lib/gsif/sample/convert_block.c 2007-12-06 17:04:45.000000000 +0100
-@@ -122,9 +122,9 @@
- break;
- case GSI_16BIT:
- #ifdef SYSCONFIG_LITTLE_ENDIAN_MACHINE
-- input_val = (int) (int16) ( ((*input++) << 8) | (*input++) );
-+ input_val = (int) (int16) ( (*input++ << 8) | *input++ );
- #else
-- input_val = *((int16 *)input)++;
-+ input_val = *input++;
- #endif
- break;
- case GSI_8BIT_SIGNED:
-@@ -132,9 +132,9 @@
- break;
- case GSI_16BIT_LE:
- #ifdef SYSCONFIG_LITTLE_ENDIAN_MACHINE
-- input_val = *((int16 *)input)++;
-+ input_val = *input++;
- #else
-- input_val = (int) (int16) (*input++ | ((*input++) << 8) );
-+ input_val = (int) (int16) (*(input++) | ((*input++) << 8) );
- #endif
- break;
- case GSI_24BIT:
-@@ -170,7 +170,7 @@
- *output++ = (input_val >> 8) & 255;
- *output++ = (input_val & 255);
- #else
-- *((int16 *) output)++ = input_val;
-+ *output++ = input_val;
- #endif
- break;
- case GSI_8BIT_SIGNED:
-@@ -178,7 +178,7 @@
- break;
- case GSI_16BIT_LE:
- #ifdef SYSCONFIG_LITTLE_ENDIAN_MACHINE
-- *((int16 *) output)++ = input_val;
-+ *output++ = input_val;
- #else
- *output++ = (input_val >> 8) & 255;
- *output++ = (input_val & 255);
diff --git a/audio/gsi/files/patch-lib::gsif::io.c b/audio/gsi/files/patch-lib::gsif::io.c
deleted file mode 100644
index 999a52dec64f..000000000000
--- a/audio/gsi/files/patch-lib::gsif::io.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- lib/gsif/io.c.orig Sat Jan 10 22:22:35 2004
-+++ lib/gsif/io.c Sat Jan 10 22:21:32 2004
-@@ -80,7 +80,7 @@
- fint = gsif_swap_int16(i);
- status = write (fd, &fint, 2);
- #else
-- fint = val;
-+ fint = i;
- status = write (fd, &fint, 2);
- #endif
- if (status != 2) (*s) = status;
diff --git a/audio/gsi/files/patch-lib::gsimidi_pcm::instrument::patchgram.y b/audio/gsi/files/patch-lib::gsimidi_pcm::instrument::patchgram.y
deleted file mode 100644
index 212be9bd0e3f..000000000000
--- a/audio/gsi/files/patch-lib::gsimidi_pcm::instrument::patchgram.y
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/gsimidi_pcm/instrument/patchgram.y.orig 2012-11-30 14:15:59.000000000 +0100
-+++ lib/gsimidi_pcm/instrument/patchgram.y 2012-11-30 14:16:10.000000000 +0100
-@@ -26,6 +26,7 @@
-
- %{
- #include <stdio.h>
-+#include <stdlib.h>
- #include "../kpmidi.h"
- #include "../utils/log.h"
- #include "../midi_to_pcm.h"
diff --git a/audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c b/audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c
deleted file mode 100644
index ad44e184a8f9..000000000000
--- a/audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/gsimidi_pcm/midi_parse.c.orig Sun Jan 14 20:01:27 2001
-+++ lib/gsimidi_pcm/midi_parse.c Wed Aug 18 18:34:03 2004
-@@ -349,6 +349,7 @@
- case 0xfc: /* Midi stop */
- case 0xfe: /* Active sense */
- case 0xff: /* Reset */
-+ ;
- }
- }
-
diff --git a/audio/gsi/files/patch-lib::gsmimidi_pcm::midi_to_pcm.c b/audio/gsi/files/patch-lib::gsmimidi_pcm::midi_to_pcm.c
deleted file mode 100644
index 4643ab04babf..000000000000
--- a/audio/gsi/files/patch-lib::gsmimidi_pcm::midi_to_pcm.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/gsimidi_pcm/midi_to_pcm.c.orig 2012-11-30 14:13:53.000000000 +0100
-+++ lib/gsimidi_pcm/midi_to_pcm.c 2012-11-30 14:14:47.000000000 +0100
-@@ -820,7 +820,7 @@
- for (t = 0; t < d->reverbCount; t++) {
- if (d->reverbTaps[t].offset == offset) {
- d->reverbTaps[t].amount = amount;
-- return; // WHS: Return what?? False ??
-+ return False; // WHS: Return what?? False ??
- }
- }
- taps = calloc (sizeof (MidiReverbTap), d->reverbCount + 1);
diff --git a/audio/gsi/files/patch-server::io.h b/audio/gsi/files/patch-server::io.h
deleted file mode 100644
index 982d2b14ec78..000000000000
--- a/audio/gsi/files/patch-server::io.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- server/io.h.orig 2012-11-30 14:10:22.000000000 +0100
-+++ server/io.h 2012-11-30 14:10:31.000000000 +0100
-@@ -34,9 +34,9 @@
- #define msb_int32_at(buf) msb_from_native_int32(*((int32 *) (buf)))
- #define msb_int16_at(buf) msb_from_native_int16(*((int16 *) (buf)))
-
--#define next_msb_int32(buf) ( ((((byte *) (buf))++)[0] << 24) | ((((byte *) (buf))++)[1] << 16) | ((((byte *) (buf))++)[2] << 8) | (((byte *) (buf))++)[3] )
--#define next_msb_int16(buf) ( ((((byte *) (buf))++)[0] << 8) | (((byte *) (buf))++)[1] )
--#define next_byte(buf) ((((byte *) (buf))++)[0])
-+#define next_msb_int32(buf) (((buf)++)[0] << 24 | ((buf)++)[1] << 16 | ((buf)++)[2] << 8 | ((buf)++)[3])
-+#define next_msb_int16(buf) (((buf)++)[0] << 8 | ((buf)++)[1])
-+#define next_byte(buf) (((buf)++)[0])
-
-
- /* writing to clients */
diff --git a/audio/gsi/pkg-descr b/audio/gsi/pkg-descr
deleted file mode 100644
index b033c8da0325..000000000000
--- a/audio/gsi/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-From the home page:
- GSI is an easy to use audio system which can be used over a network
- and which gives applications, through a very simple API, sample
- playing with stereo, 3D, doppler effects, music playing (MIDI, HMP,
- MUS), cd playing and ejecting/changing.
-
- GSI also contains a separately usable sound/music
- loading/saving/format conversion library libgsif
- (au/aiff/voc/wav/raw, midi/hmp/mus), although saving/format
- conversion is not completely done.
-
- GSI runs on any unix system that has generic /dev/audio (8000Hz mono
- mulaw), OSS, ultrasound project drivers, or NAS (well, it did once, I
- need to update the NAS stuff), e.g. Linux, OpenBSD and FreeBSD. CD
- playing is dependent on the OS' ioctl's and structs so that probably
- works on linux/*BSD only (Solaris may work, as it seems to use the
- same ioctl's/structs as Linux).
-
-License: 2-clause BSD-style for code / public domain for headers
-WWW: http://gsi.sourceforge.net/
diff --git a/audio/gsi/pkg-message b/audio/gsi/pkg-message
deleted file mode 100644
index fbff770528bf..000000000000
--- a/audio/gsi/pkg-message
+++ /dev/null
@@ -1,6 +0,0 @@
-Don't forget to place a line in /etc/services, like this:
-
-gsi_server 9000/tcp # Shared 3d sound server
-
-if you want to be able to run the server over a network.
-[ note the security implications, see the documentation ]
diff --git a/audio/gsi/pkg-plist b/audio/gsi/pkg-plist
deleted file mode 100644
index 7f38603bfa7f..000000000000
--- a/audio/gsi/pkg-plist
+++ /dev/null
@@ -1,58 +0,0 @@
-bin/gsi_server
-bin/gsifile
-bin/gsiplay
-etc/gsi.conf.sample
-include/gsi/config.h
-include/gsi/device.h
-include/gsi/gsi.h
-include/gsi/gsi_command_lengths.h
-include/gsi/gsi_command_names.h
-include/gsi/gsi_commands.h
-include/gsi/gsi_config.h
-include/gsi/gsi_debug.h
-include/gsi/gsi_event_lengths.h
-include/gsi/gsi_event_names.h
-include/gsi/gsi_eventmasks.h
-include/gsi/gsi_events.h
-include/gsi/gsi_instrumentnames_gus.h
-include/gsi/gsi_midi_names.h
-include/gsi/gsi_shm.h
-include/gsi/gsi_subcommands.h
-include/gsi/gsicd.h
-include/gsi/gsicd_config.h
-include/gsi/gsif.h
-include/gsi/gsif_config.h
-include/gsi/gsif_midi.h
-include/gsi/gsimidi_pcm.h
-include/gsi/gsimidi_pcm_config.h
-include/gsi/gsimixer.h
-include/gsi/gsimixer_config.h
-include/gsi/gsipcm.h
-include/gsi/gsipcm_config.h
-include/gsi/gsisynth_config.h
-include/gsi/kpmidi.h
-include/gsi/kpmidi_patch.h
-include/gsi/mixer_data.h
-include/gsi/p_signal.c
-include/gsi/p_signal.h
-include/gsi/pcm_data.h
-include/gsi/synth_data.h
-include/gsi/version.h
-include/gsi/volume.h
-include/gsi/whs_debug.h
-include/gsi/whs_debug2.h
-include/gsi/whs_defines.h
-include/gsi/whs_types.h
-lib/libgsi.so
-lib/libgsi.so.0
-lib/libgsicd.so
-lib/libgsicd.so.0
-lib/libgsif.so
-lib/libgsif.so.0
-lib/libgsimidi_pcm.so
-lib/libgsimidi_pcm.so.2
-lib/libgsimixer.so
-lib/libgsimixer.so.0
-lib/libgsipcm.so
-lib/libgsipcm.so.0
-@dirrm include/gsi