diff options
author | sf <sf@FreeBSD.org> | 2001-02-20 18:51:09 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-02-20 18:51:09 +0000 |
commit | d0cd33b30381fcab9180f4b0b3f14ecd39fa8f69 (patch) | |
tree | 6233eb9b8552153087f8eee527837fa9686668ef /audio/mad/files | |
parent | cb8691381b2eafa340e093bf795c785119a556a9 (diff) | |
download | FreeBSD-ports-d0cd33b30381fcab9180f4b0b3f14ecd39fa8f69.zip FreeBSD-ports-d0cd33b30381fcab9180f4b0b3f14ecd39fa8f69.tar.gz |
o update mad to 0.12.5beta.
o respect CFLAGS.
o add LIB_DEPENDS to gettext and use shared libintl.
o add USE_LIBTOOL to supress installing ltlibs.
o add CONFIGURE_ARGS tweak to get the fast and accurate output(I believe).
o obsolete patch-ab(integrated).
Approved by: maintainer
Diffstat (limited to 'audio/mad/files')
-rw-r--r-- | audio/mad/files/patch-aa | 39 | ||||
-rw-r--r-- | audio/mad/files/patch-ab | 13 | ||||
-rw-r--r-- | audio/mad/files/patch-ac | 9 |
3 files changed, 19 insertions, 42 deletions
diff --git a/audio/mad/files/patch-aa b/audio/mad/files/patch-aa index 3a7fab1..6649b10 100644 --- a/audio/mad/files/patch-aa +++ b/audio/mad/files/patch-aa @@ -1,31 +1,13 @@ -This port is not CFLAGS safe. I will not try to make it on this -particular version. However, I will make it use -O instead of -O2 -since I am told that -O2 brakes the alpha ARCH. Partially provided -by lioux@freebsd.org - ---- configure.orig Fri Nov 17 04:20:18 2000 -+++ configure Sun Nov 26 22:56:39 2000 -@@ -3800,7 +3800,8 @@ - then - case "$host" in - i386-*) ARCH="" ;; -- i?86-*) ARCH="-m486" ;; -+ i486-*) ARCH="-m486" ;; -+ i586-*) ARCH="-mpentium" ;; - arm-empeg-*) ARCH="-march=armv4 -mtune=strongarm1100" ;; - armv4*-*) ARCH="-march=armv4 -mtune=strongarm" ;; - mips*-*) ARCH="" ;; -@@ -3813,7 +3814,7 @@ - esac - - case "$CFLAGS" in -- *-O*) OPTIMIZER="-O2" ;; -+ *-O*) OPTIMIZER="-O" ;; - esac - - CFLAGS=`echo ".$CFLAGS" | \ -@@ -5439,10 +5440,6 @@ - *) # Relative path. +--- configure.orig Fri Feb 9 18:31:26 2001 ++++ configure Thu Feb 15 19:31:10 2001 +@@ -3820,5 +3820,5 @@ + ;; + -O*|-f*) +- optimize="$1" ++ optimize="$optimize $1" + shift + ;; +@@ -5653,8 +5653,4 @@ ac_sub_cache_file="$ac_dots$cache_file" ;; esac - case "$ac_given_INSTALL" in @@ -34,4 +16,3 @@ by lioux@freebsd.org - esac echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" - # The eval makes quoting arguments work. diff --git a/audio/mad/files/patch-ab b/audio/mad/files/patch-ab deleted file mode 100644 index 4baa960..0000000 --- a/audio/mad/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- audio_oss.c.orig Thu Nov 16 03:51:04 2000 -+++ audio_oss.c Sat Nov 18 13:45:25 2000 -@@ -57,6 +57,10 @@ - # undef AUDIO_TRY32BITS - # endif - -+# if !defined(SNDCTL_DSP_CHANNELS) && defined(SOUND_PCM_WRITE_CHANNELS) -+# define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS -+# endif -+ - # define AUDIO_DEVICE "/dev/dsp" - - static int sfd; diff --git a/audio/mad/files/patch-ac b/audio/mad/files/patch-ac new file mode 100644 index 0000000..a0aea94 --- /dev/null +++ b/audio/mad/files/patch-ac @@ -0,0 +1,9 @@ +--- libmad/configure.orig Fri Feb 9 18:31:43 2001 ++++ libmad/configure Thu Feb 15 19:17:51 2001 +@@ -1841,5 +1841,5 @@ + ;; + -O2) +- optimize="-O" ++ optimize="-O2" + shift + ;; |