diff options
author | steve <steve@FreeBSD.org> | 1999-11-27 06:25:13 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-11-27 06:25:13 +0800 |
commit | a252e4841ca2a77ebdef3735bade3a84463e63b7 (patch) | |
tree | df3d3dfb4738691e28c26946ada00c8461b6fbde /audio/maplay | |
parent | c16f6ab663acdfba7f59a8c8142be3fdf6e21844 (diff) | |
download | freebsd-ports-gnome-a252e4841ca2a77ebdef3735bade3a84463e63b7.tar.gz freebsd-ports-gnome-a252e4841ca2a77ebdef3735bade3a84463e63b7.tar.zst freebsd-ports-gnome-a252e4841ca2a77ebdef3735bade3a84463e63b7.zip |
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>
Diffstat (limited to 'audio/maplay')
-rw-r--r-- | audio/maplay/files/patch-ab | 21 | ||||
-rw-r--r-- | audio/maplay/files/patch-ad | 8 | ||||
-rw-r--r-- | audio/maplay/files/patch-ae | 20 |
3 files changed, 43 insertions, 6 deletions
diff --git a/audio/maplay/files/patch-ab b/audio/maplay/files/patch-ab index eb0a46814157..a2199cbe6f6e 100644 --- a/audio/maplay/files/patch-ab +++ b/audio/maplay/files/patch-ab @@ -1,5 +1,22 @@ -*** work/Makefile.orig Tue Feb 14 08:18:41 1995 ---- work/Makefile Tue Feb 14 08:19:52 1995 +*** Makefile.orig Thu Jun 23 21:14:46 1994 +--- Makefile Thu Nov 25 02:59:22 1999 +*************** +*** 27,33 **** + # + + +! CFLAGS = $(COMPILERFLAGS) + # debugging: -ggdb -DDEBUG + # profiling: -pg (gprof) or -p (prof) + # strip command has to be removed for debugging or profiling +--- 27,33 ---- + # + + +! CFLAGS += $(COMPILERFLAGS) + # debugging: -ggdb -DDEBUG + # profiling: -pg (gprof) or -p (prof) + # strip command has to be removed for debugging or profiling *************** *** 39,45 **** diff --git a/audio/maplay/files/patch-ad b/audio/maplay/files/patch-ad index 649ef65e8b9d..bb62d8b11cce 100644 --- a/audio/maplay/files/patch-ad +++ b/audio/maplay/files/patch-ad @@ -1,15 +1,15 @@ --- configuration.sh.orig Thu Jun 23 07:14:46 1994 -+++ configuration.sh Sat Sep 18 14:52:25 1999 ++++ configuration.sh Thu Nov 25 02:53:40 1999 @@ -72,6 +72,16 @@ INCLUDEDIRS= LIBRARIES= AUDIO_INCLUDES='#include <sys/audioio.h>' ;; + FreeBSD*) -+ COMPILER=g++ ++ COMPILER='${CXX}' + if [ `uname -m` = "alpha" ]; then -+ COMPILERFLAGS='-O2 -DLINUX' ++ COMPILERFLAGS='-DLINUX' + else -+ COMPILERFLAGS='-O2 -m486 -DLINUX -DDAMN_INTEL_BYTE_ORDER' ++ COMPILERFLAGS='-m486 -DLINUX -DDAMN_INTEL_BYTE_ORDER' + fi + INCLUDEDIRS= + LIBRARIES= 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) |