summaryrefslogtreecommitdiff
path: root/audio/maplay/files/patch-ae
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-26 22:25:13 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-26 22:25:13 +0000
commit0d8aabec62371ef198d3542084c563c40a1a449e (patch)
tree9679f1e394ebe96ec6dfc65f2df7f1f26717bcfc /audio/maplay/files/patch-ae
parentUpdate to fine 2.3 to unbreak this port. (diff)
Honor CFLAGS/CXXFLAGS and get this to compile on systems with egcs
as the system compiler. PR: 15077 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=23420
Diffstat (limited to 'audio/maplay/files/patch-ae')
-rw-r--r--audio/maplay/files/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/maplay/files/patch-ae b/audio/maplay/files/patch-ae
new file mode 100644
index 000000000000..3ab25a49b1f1
--- /dev/null
+++ b/audio/maplay/files/patch-ae
@@ -0,0 +1,20 @@
+--- header.cc.orig Thu Jun 23 07:14:35 1994
++++ header.cc Fri Nov 26 16:18:21 1999
+@@ -36,7 +36,7 @@
+ const uint32 Header::frequencies[3] = { 44100, 48000, 32000 };
+
+
+-bool Header::read_header (Ibitstream *stream, Crc16 **crcp)
++boolean Header::read_header (Ibitstream *stream, Crc16 **crcp)
+ {
+ uint32 headerstring;
+
+@@ -161,7 +161,7 @@
+ static const int32 bitrates_layer_2[15] = {
+ 0 /*free format*/, 32000, 48000, 56000, 64000, 80000, 96000,
+ 112000, 128000, 160000, 192000, 224000, 256000, 320000, 384000 };
+- static const samplefrequencies[3] = { 44100, 48000, 32000 };
++ static const int32 samplefrequencies[3] = { 44100, 48000, 32000 };
+ uint32 framesize;
+
+ if (h_layer == 1)