summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2011-11-17 18:57:24 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2011-11-17 18:57:24 +0000
commit04697ac9706c944c76bca7de6deff703a63a8cc0 (patch)
tree06c4dc43c0cf412101bfbb0325414291f9c6bbea /dev-games/openscenegraph/files
parentx86 stable wrt bug #390653 (diff)
downloadgentoo-2-04697ac9706c944c76bca7de6deff703a63a8cc0.tar.gz
gentoo-2-04697ac9706c944c76bca7de6deff703a63a8cc0.tar.bz2
gentoo-2-04697ac9706c944c76bca7de6deff703a63a8cc0.zip
Fix the way ffmpeg headers are included, bug 390793.
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'dev-games/openscenegraph/files')
-rw-r--r--dev-games/openscenegraph/files/openscenegraph-3.0.1-libav-0.7.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-games/openscenegraph/files/openscenegraph-3.0.1-libav-0.7.patch b/dev-games/openscenegraph/files/openscenegraph-3.0.1-libav-0.7.patch
new file mode 100644
index 000000000000..4748cd48c807
--- /dev/null
+++ b/dev-games/openscenegraph/files/openscenegraph-3.0.1-libav-0.7.patch
@@ -0,0 +1,22 @@
+diff -ruN OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp my/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp
+--- OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp 2011-06-17 10:41:56.000000000 +0200
++++ my/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp 2011-11-17 19:44:33.194607494 +0100
+@@ -9,12 +9,13 @@
+ #define FF_API_OLD_SAMPLE_FMT 0
+ #include <errno.h> // for error codes defined in avformat.h
+ #include <stdint.h>
+-#include <avcodec.h>
+-#include <avformat.h>
+-#include <avdevice.h>
++#include <libavcodec/avcodec.h>
++#include <libavformat/avformat.h>
++#include <libavdevice/avdevice.h>
++#include <libavutil/mathematics.h>
+
+-#ifdef USE_SWSCALE
+- #include <swscale.h>
++#ifdef USE_SWSCALE
++ #include <libswscale/swscale.h>
+ #endif
+
+ }