diff options
author | he <he> | 2004-03-27 17:33:28 +0000 |
---|---|---|
committer | he <he> | 2004-03-27 17:33:28 +0000 |
commit | 89f6688021354de286a9d7dc2d001f9612d5a158 (patch) | |
tree | 0fe4c1f6223e8dbc9ea6dc5b24405f55a168abcb /audio/lame/patches | |
parent | f5ff49c839650c0067a8e423049d3380a9d6a84f (diff) | |
download | pkgsrc-89f6688021354de286a9d7dc2d001f9612d5a158.tar.gz |
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 (limited to 'audio/lame/patches')
-rw-r--r-- | audio/lame/patches/patch-ad | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/lame/patches/patch-ad b/audio/lame/patches/patch-ad new file mode 100644 index 00000000000..3c2ff4e5f4a --- /dev/null +++ b/audio/lame/patches/patch-ad @@ -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 |