aboutsummaryrefslogtreecommitdiffstats
path: root/audio/faad/files/patch-libfaad_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/faad/files/patch-libfaad_common.h')
-rw-r--r--audio/faad/files/patch-libfaad_common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/faad/files/patch-libfaad_common.h b/audio/faad/files/patch-libfaad_common.h
new file mode 100644
index 000000000000..dfb9a90768c5
--- /dev/null
+++ b/audio/faad/files/patch-libfaad_common.h
@@ -0,0 +1,16 @@
+--- libfaad/common.h.orig Fri Feb 6 13:55:24 2004
++++ libfaad/common.h Wed Jan 19 01:52:32 2005
+@@ -308,6 +308,7 @@
+ return i;
+ }
+ #elif (defined(__i386__) && defined(__GNUC__))
++ #ifndef HAVE_LRINTF
+ #define HAS_LRINTF
+ // from http://www.stereopsis.com/FPU.html
+ static INLINE int lrintf(float f)
+@@ -320,6 +321,7 @@
+ : "m" (f));
+ return i;
+ }
++ #endif /* HAVE_LRINTF */
+ #endif