[Lunar-commits] <moonbase> OpenSceneGraph: A quick and dirty fix so this will compile with ffmpeg-0.6.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Jun 20 12:19:28 CEST 2010


commit b4d1b95617936a86351c26d11177e69f3d2ffbc6
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Jun 20 06:19:28 2010 -0400

    OpenSceneGraph: A quick and dirty fix so this will compile with ffmpeg-0.6.
---
 graphics/OpenSceneGraph/BUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/graphics/OpenSceneGraph/BUILD b/graphics/OpenSceneGraph/BUILD
index 11e89bb..1a3373d 100644
--- a/graphics/OpenSceneGraph/BUILD
+++ b/graphics/OpenSceneGraph/BUILD
@@ -5,6 +5,9 @@
   mkdir $OOTB_DIR  &&
   cd $OOTB_DIR     &&
 
+# A q&d fix to get this to compile with ffmpeg-0.6. Revisit on the next OSG bump.
+  CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" &&
+
   cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX   \
                            -DCMAKE_BUILD_TYPE=RELEASE              \
                            $OPTS                                  &&


More information about the Lunar-commits mailing list