[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44826] trunk/blender/source/gameengine/ VideoTexture/VideoFFmpeg.h: Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD .

Sergey Sharybin sergey.vfx at gmail.com
Mon Mar 12 09:46:53 CET 2012


Revision: 44826
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44826
Author:   nazgul
Date:     2012-03-12 08:46:53 +0000 (Mon, 12 Mar 2012)
Log Message:
-----------
Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
Thanks!

Modified Paths:
--------------
    trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h

Modified: trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h	2012-03-12 08:45:06 UTC (rev 44825)
+++ trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h	2012-03-12 08:46:53 UTC (rev 44826)
@@ -28,6 +28,10 @@
 #define __VIDEOFFMPEG_H__
 
 #ifdef WITH_FFMPEG
+#if defined(__FreeBSD__)
+/* this needs to be parsed with __cplusplus defined before included through ffmpeg_compat.h */
+#include <inttypes.h>
+#endif
 extern "C" {
 #undef __cplusplus
 #include <pthread.h>




More information about the Bf-blender-cvs mailing list