pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/lame Fix this so it builds on alpha.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b943e9b35314
branches: trunk
changeset: 471352:b943e9b35314
user: he <he%pkgsrc.org@localhost>
date: Sat Mar 27 17:33:28 2004 +0000
description:
Fix this so it builds on alpha.
If we're going to mess with defining FLOAT on the command line
(done for alpha from before), we should also define FLOAT_MAX.
Pull in <float.h> in libmp3lib/machine.h, so that DBL_MAX is
available for that purpose.
diffstat:
audio/lame/Makefile | 4 ++--
audio/lame/distinfo | 3 ++-
audio/lame/patches/patch-ad | 12 ++++++++++++
3 files changed, 16 insertions(+), 3 deletions(-)
diffs (47 lines):
diff -r bfb7ccef40c6 -r b943e9b35314 audio/lame/Makefile
--- a/audio/lame/Makefile Sat Mar 27 14:46:59 2004 +0000
+++ b/audio/lame/Makefile Sat Mar 27 17:33:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2004/03/20 02:23:38 snj Exp $
+# $NetBSD: Makefile,v 1.39 2004/03/27 17:33:28 he Exp $
#
DISTNAME= lame-${VERS}
@@ -40,7 +40,7 @@
# double is faster than float on Alpha
CFLAGS+= -O2 -Wall -fomit-frame-pointer -ffast-math -funroll-loops \
-mfp-regs -fschedule-insns -fschedule-insns2 \
- -finline-functions -DFLOAT=double
+ -finline-functions -DFLOAT=double -DFLOAT_MAX=DBL_MAX
.endif
.include "../../mk/curses.buildlink3.mk"
diff -r bfb7ccef40c6 -r b943e9b35314 audio/lame/distinfo
--- a/audio/lame/distinfo Sat Mar 27 14:46:59 2004 +0000
+++ b/audio/lame/distinfo Sat Mar 27 17:33:28 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2004/01/20 15:46:12 adam Exp $
+$NetBSD: distinfo,v 1.10 2004/03/27 17:33:28 he Exp $
SHA1 (lame-3.95.1.tar.gz) = 6547f289ae2f078eb5f053a54e2724f0de72ca94
Size (lame-3.95.1.tar.gz) = 1244071 bytes
SHA1 (patch-aa) = 6ade10e302c6f848cdc9392fed89d87b40d0eb77
SHA1 (patch-ab) = da88c3c130e8b1420baf52c36e657378bdb58a36
SHA1 (patch-ac) = 8e1495493c534943608baeab18c1063c66509dbc
+SHA1 (patch-ad) = 976c3364ca70f90a5f7b3aabfa3b228dcf0d010f
diff -r bfb7ccef40c6 -r b943e9b35314 audio/lame/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lame/patches/patch-ad Sat Mar 27 17:33:28 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2004/03/27 17:33:28 he Exp $
+
+--- libmp3lame/machine.h.orig 2004-03-27 18:23:04.000000000 +0100
++++ libmp3lame/machine.h
+@@ -113,6 +113,7 @@ char *strchr (), *strrchr ();
+ # include <float.h>
+ # define FLOAT_MAX FLT_MAX
+ #else
++# include <float.h>
+ # ifndef FLOAT
+ typedef float FLOAT;
+ # ifdef FLT_MAX
Home |
Main Index |
Thread Index |
Old Index