summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/extra-patch-gcc34
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer/files/extra-patch-gcc34')
-rw-r--r--multimedia/mplayer/files/extra-patch-gcc3414
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/extra-patch-gcc34 b/multimedia/mplayer/files/extra-patch-gcc34
index 8d92957635d3..a8a44dd411ad 100644
--- a/multimedia/mplayer/files/extra-patch-gcc34
+++ b/multimedia/mplayer/files/extra-patch-gcc34
@@ -147,3 +147,17 @@
/* XXX: add ISOC specific test to avoid specific BSD testing. */
/* better than nothing implementation. */
/* btw, rintf() is existing on fbsd too -- alex */
+--- libavcodec/resample2.c.orig Thu Dec 23 22:24:08 2004
++++ libavcodec/resample2.c Mon Jan 10 23:03:32 2005
+@@ -28,6 +28,11 @@
+ #include "common.h"
+ #include "dsputil.h"
+
++#ifdef __FreeBSD__
++#include <math.h>
++#define lrintf(x) rintf(x)
++#endif
++
+ #if 1
+ #define FILTER_SHIFT 15
+