diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-07-08 06:06:28 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-07-08 06:06:28 +0000 |
commit | 52826993bf79512f8c24a5dc9b4dbe47bd110b05 (patch) | |
tree | 70d93ea3946b3ff9484a72f49594f8ec3613fe4e /audio | |
parent | upgrade to 0.2.7 (diff) |
Fix build with gcc 4.2.
Reported by: pointyhat via pav
Diffstat (limited to 'audio')
-rw-r--r-- | audio/bmp-wma/files/patch-src-libffwma-common.h | 17 | ||||
-rw-r--r-- | audio/bmp-wma/files/patch-src-libffwma-dsputil.h | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/audio/bmp-wma/files/patch-src-libffwma-common.h b/audio/bmp-wma/files/patch-src-libffwma-common.h new file mode 100644 index 000000000000..c4ac35ab58dd --- /dev/null +++ b/audio/bmp-wma/files/patch-src-libffwma-common.h @@ -0,0 +1,17 @@ +--- src/libffwma/common.h.orig 2007-07-08 09:37:09.000000000 +0400 ++++ src/libffwma/common.h 2007-07-08 09:37:26.000000000 +0400 +@@ -65,14 +65,6 @@ + #define AVOPTION_SUB(ptr) { .name = NULL, .help = (const char*)ptr } + #define AVOPTION_END() AVOPTION_SUB(NULL) + +-struct AVOption; +-#ifdef HAVE_MMX +-extern const struct AVOption avoptions_common[3 + 5]; +-#else +-extern const struct AVOption avoptions_common[3]; +-#endif +-extern const struct AVOption avoptions_workaround_bug[11]; +- + #endif /* HAVE_AV_CONFIG_H */ + + /* Suppress restrict if it was not defined in config.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 |