aboutsummaryrefslogtreecommitdiffstats
path: root/audio/funktrackergold/files
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-07 14:10:56 +0800
committerwill <will@FreeBSD.org>2001-04-07 14:10:56 +0800
commit148ad7917d2f9469cc04dc55ab49be9c0cf0e181 (patch)
tree2b80c4d883d543ba10f539dca8a5a9322da1490d /audio/funktrackergold/files
parent3b8cb889fa3529ae1bfc695fd3555cf47bda7714 (diff)
downloadfreebsd-ports-gnome-148ad7917d2f9469cc04dc55ab49be9c0cf0e181.tar.gz
freebsd-ports-gnome-148ad7917d2f9469cc04dc55ab49be9c0cf0e181.tar.zst
freebsd-ports-gnome-148ad7917d2f9469cc04dc55ab49be9c0cf0e181.zip
Add funktrackergold 1.5.2, a curses MOD/FNK music tracker.
PR: 26265 Submitted by: Mark Pulford <mark@kyne.com.au>
Diffstat (limited to 'audio/funktrackergold/files')
-rw-r--r--audio/funktrackergold/files/patch-Makefile76
-rw-r--r--audio/funktrackergold/files/patch-headers73
2 files changed, 149 insertions, 0 deletions
diff --git a/audio/funktrackergold/files/patch-Makefile b/audio/funktrackergold/files/patch-Makefile
new file mode 100644
index 000000000000..1ae782c5ae8e
--- /dev/null
+++ b/audio/funktrackergold/files/patch-Makefile
@@ -0,0 +1,76 @@
+--- Makefile.orig Mon Jun 22 20:24:17 1998
++++ Makefile Sun Apr 1 20:44:19 2001
+@@ -5,53 +5,10 @@
+ # FunktrackerGOLD now comes under the GNU General Public License. Please
+ # read the COPYING notice in this distribution.
+ ############################################################################
+-CC = gcc
+-OPTIONS = -Wall -O2 -pipe -fomit-frame-pointer
+-LIB = -lpthread -lncurses -lm
++LDFLAGS+=$(EXTRA_LDFLAGS) -lncurses -lm
++CFLAGS+=$(EXTRA_CFLAGS)
+
+-ifeq ($(OSTYPE),Linux)
+- OPTIONS += -DLinux
+-else
+- ifeq ($(OSTYPE),FreeBSD)
+- OPTIONS += -DFreeBSD
+- LIB += -ltermcap #-lmytinfo
+- else
+- OPTIONS += -DLinux
+- endif
+-endif
+-
+-HOST_SAFE = 0
+-
+-ifeq ($(HOSTTYPE),i386)
+- HOST_SAFE = 1
+-endif
+-
+-ifeq ($(HOSTTYPE),i486)
+- HOST_SAFE = 1
+-endif
+-
+-ifeq ($(HOSTTYPE),i586)
+- HOST_SAFE = 1
+-endif
+-
+-ifeq ($(HOSTTYPE),i686)
+- HOST_SAFE = 1
+-endif
+-
+-###############################
+-all:
+- @if [ $(HOST_SAFE) = '1' ]; then \
+- make funkgold; \
+- else \
+- echo "***********************************************"; \
+- echo "This is not an INTEL based machine. As the Funktracker"; \
+- echo "format is in Intel byte sex (and i haven't yet made"; \
+- echo "provisions for other processors), trying to play"; \
+- echo "funktracker songs on this machine will be dangerous."; \
+- echo ""; \
+- echo "Refer to INSTALL file."; \
+- echo "***********************************************"; \
+- fi
++all: funkgold
+
+ ###############################
+ OBJ_FT = dsp_mixxer.o funktracker.o funkload.o funkgold_misc.o \
+@@ -59,7 +16,7 @@
+ funkgold_trac.o funkgold.o
+
+ funkgold: $(OBJ_FT)
+- $(CC) $(OPTIONS) -o funkgold $(OBJ_FT) $(LIB)
++ $(CC) -o funkgold $(OBJ_FT) $(LDFLAGS)
+ strip funkgold
+
+ ###############################
+@@ -69,7 +26,3 @@
+ release:
+ make
+ rm -f *.o
+-
+-###############################
+-%.o: %.c %.h
+- $(CC) $(OPTIONS) -c $< -o $@
diff --git a/audio/funktrackergold/files/patch-headers b/audio/funktrackergold/files/patch-headers
new file mode 100644
index 000000000000..621954cf7724
--- /dev/null
+++ b/audio/funktrackergold/files/patch-headers
@@ -0,0 +1,73 @@
+--- ../funkgold-orig/dsp_mixxer.c Mon Jun 22 20:09:39 1998
++++ dsp_mixxer.c Sun Apr 1 17:51:50 2001
+@@ -15,15 +15,11 @@
+ ***************************************************************************/
+ #include <stdio.h>
+ #include <math.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+-#ifdef Linux
+- #include <sys/soundcard.h>
+-#elif FreeBSD
+- #include <machine/soundcard.h>
+-#endif
++#include <sys/soundcard.h>
+ #include "funktracker_defs.h"
+ #include "funktracker.h"
+ #include "funkload.h"
+--- ../funkgold-orig/funkgold.c Sun Jun 21 22:10:54 1998
++++ funkgold.c Sun Apr 1 17:53:18 2001
+@@ -23,7 +23,7 @@
+ ***************************************************************************/
+ #include <curses.h>
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <signal.h>
+ #include <sys/time.h>
+--- ../funkgold-orig/funkgold_dir.c Wed Dec 2 22:01:23 1998
++++ funkgold_dir.c Sun Apr 1 18:05:59 2001
+@@ -18,7 +18,6 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include "funktracker_defs.h"
+--- ../funkgold-orig/funkgold_misc.c Sun Jun 21 15:56:46 1998
++++ funkgold_misc.c Sun Apr 1 17:53:30 2001
+@@ -17,7 +17,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/time.h>
+-#include <malloc.h>
+ #include "funktracker_defs.h"
+ #include "dsp_mixxer.h"
+ #include "funktracker.h"
+--- ../funkgold-orig/funkgold_sm.c Sun Jun 21 15:57:07 1998
++++ funkgold_sm.c Sun Apr 1 17:53:44 2001
+@@ -16,7 +16,7 @@
+ ***************************************************************************/
+ #include <curses.h>
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "funktracker_defs.h"
+ #include "dsp_mixxer.h"
+ #include "funktracker.h"
+--- ../funkgold-orig/funkload.c Sun Jun 21 15:57:21 1998
++++ funkload.c Sun Apr 1 17:53:51 2001
+@@ -15,7 +15,7 @@
+ ***************************************************************************/
+ #include <stdio.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "funktracker_defs.h"
+ #include "dsp_mixxer.h"
+ #include "funktracker.h"