From 52826993bf79512f8c24a5dc9b4dbe47bd110b05 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sun, 8 Jul 2007 06:06:28 +0000 Subject: Fix build with gcc 4.2. Reported by: pointyhat via pav --- audio/bmp-wma/files/patch-src-libffwma-dsputil.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 audio/bmp-wma/files/patch-src-libffwma-dsputil.h (limited to 'audio/bmp-wma/files/patch-src-libffwma-dsputil.h') diff --git a/audio/bmp-wma/files/patch-src-libffwma-dsputil.h b/audio/bmp-wma/files/patch-src-libffwma-dsputil.h new file mode 100644 index 000000000000..40d0888900d2 --- /dev/null +++ b/audio/bmp-wma/files/patch-src-libffwma-dsputil.h @@ -0,0 +1,17 @@ +--- src/libffwma/dsputil.h.orig 2007-07-08 09:40:03.000000000 +0400 ++++ src/libffwma/dsputil.h 2007-07-08 09:50:14.000000000 +0400 +@@ -509,14 +509,4 @@ + return score;\ + } + +-#ifndef HAVE_LRINTF +-/* XXX: add ISOC specific test to avoid specific BSD testing. */ +-/* better than nothing implementation. */ +-/* btw, rintf() is existing on fbsd too -- alex */ +-static inline long int lrintf(float x) +-{ +- return (int)(rint(x)); +-} +-#endif +- + #endif -- cgit v1.2.3