summaryrefslogtreecommitdiff
path: root/audio/libvorbis/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libvorbis/patches/patch-ad')
-rw-r--r--audio/libvorbis/patches/patch-ad21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/libvorbis/patches/patch-ad b/audio/libvorbis/patches/patch-ad
new file mode 100644
index 00000000000..4d0985e7153
--- /dev/null
+++ b/audio/libvorbis/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1 2001/04/04 07:08:29 tron Exp $
+
+--- lib/os.h.orig Fri Mar 30 02:10:53 2001
++++ lib/os.h Fri Mar 30 02:13:07 2001
+@@ -42,15 +42,7 @@
+ # define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b))
+ #endif
+
+-#ifndef __GNUC__
+-# define NO_FLOAT_MATH_LIB
+-#endif
+-
+-#ifdef DARWIN
+-# define NO_FLOAT_MATH_LIB
+-#endif
+-
+-#ifndef NO_FLOAT_MATH_LIB
++#ifdef HAVE_SQRTF
+ # define sqrt sqrtf
+ # define log logf
+ # define exp expf