summaryrefslogtreecommitdiff
path: root/audio/bonk/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-11 16:19:52 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-11 16:19:52 +0000
commitc0eec69d49682669216fe8b31b6f79fd253c4c62 (patch)
treee2ab5355eb92a0d9ef9207829ca32cfd44880bde /audio/bonk/files
parentadd py-gnupg (diff)
upgrade to 0.5
drop maintainership
Notes
Notes: svn path=/head/; revision=45041
Diffstat (limited to 'audio/bonk/files')
-rw-r--r--audio/bonk/files/patch-Makefile21
-rw-r--r--audio/bonk/files/patch-bonk.cc24
2 files changed, 8 insertions, 37 deletions
diff --git a/audio/bonk/files/patch-Makefile b/audio/bonk/files/patch-Makefile
index bed427aaabca..dd32a174cee5 100644
--- a/audio/bonk/files/patch-Makefile
+++ b/audio/bonk/files/patch-Makefile
@@ -1,15 +1,10 @@
---- Makefile.orig Sat Jun 2 01:44:11 2001
-+++ Makefile Sat Jun 2 01:44:46 2001
-@@ -2,10 +2,10 @@
- all : bonk
+--- Makefile.orig Thu Jul 12 00:16:45 2001
++++ Makefile Thu Jul 12 00:17:05 2001
+@@ -1,7 +1,4 @@
- bonk : bonk.cc utility.h wav.h
-- g++ -O3 -funroll-loops -o bonk bonk.cc
-+ ${CXX} ${CXXFLAGS} -o bonk bonk.cc
+-PREFIX= /usr
+-CXX= g++
+-CXXFLAGS= -O3 -funroll-loops
+ INSTALL= install -c
- install : bonk
-- install bonk /usr/bin
-+ %%INSTALL_PROGRAM%% bonk ${PREFIX}/bin
-
- clean :
- rm -f core bonk
+ # Uncomment this line for Linux and FreeBSD
diff --git a/audio/bonk/files/patch-bonk.cc b/audio/bonk/files/patch-bonk.cc
deleted file mode 100644
index 93377e114bed..000000000000
--- a/audio/bonk/files/patch-bonk.cc
+++ /dev/null
@@ -1,24 +0,0 @@
---- bonk.cc.orig Sat Jun 2 02:06:22 2001
-+++ bonk.cc Sat Jun 2 02:07:11 2001
-@@ -30,7 +30,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
--#include <linux/soundcard.h>
-+#include <sys/soundcard.h>
- #include <sys/ioctl.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -41,6 +41,12 @@
-
- #include "utility.h"
- #include "wav.h"
-+
-+#if defined(_AIX) || defined(AIX)
-+# define AFMT_S16_NE AFMT_S16_BE
-+#else
-+# define AFMT_S16_NE AFMT_S16_LE
-+#endif
-
- //Accuracy of fixed point calculations
- const int lattice_shift = 10,