summaryrefslogtreecommitdiff
path: root/audio/lame/patches
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-11-15 15:30:30 +0000
committersketch <sketch@pkgsrc.org>2004-11-15 15:30:30 +0000
commitc31d0542e685cf457e9d98f16ebe8092abb7ee31 (patch)
treeb67e89fa88fe481ebbdcfb2a6d282bc5b464d2b5 /audio/lame/patches
parentf8c1e08c166053b4b70a28f9358e8eda5eba19de (diff)
downloadpkgsrc-c31d0542e685cf457e9d98f16ebe8092abb7ee31.tar.gz
s/__inline/inline/ to give this package a chance of building with more
compilers, such as SunPro.
Diffstat (limited to 'audio/lame/patches')
-rw-r--r--audio/lame/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/lame/patches/patch-ae b/audio/lame/patches/patch-ae
new file mode 100644
index 00000000000..1decfc970cb
--- /dev/null
+++ b/audio/lame/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2004/11/15 15:30:30 sketch Exp $
+
+--- libmp3lame/gain_analysis.c.orig 2004-11-15 15:21:54.010807000 +0000
++++ libmp3lame/gain_analysis.c 2004-11-15 15:22:08.332150000 +0000
+@@ -247,7 +247,7 @@
+
+ /* returns GAIN_ANALYSIS_OK if successful, GAIN_ANALYSIS_ERROR if not */
+
+-static __inline double fsqr(const double d)
++static inline double fsqr(const double d)
+ { return d*d;
+ }
+