[vlc-devel] commit: Contrib: Fix compilation of libprojectM (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Jan 9 01:49:42 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 9 01:18:20 2010 +0100| [f5bcd007828b11cb6523ab80f85933aa1dbeb1ff] | committer: Jean-Baptiste Kempf
Contrib: Fix compilation of libprojectM
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f5bcd007828b11cb6523ab80f85933aa1dbeb1ff
---
extras/contrib/src/Patches/libprojectM-win32.patch | 25 ++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Patches/libprojectM-win32.patch b/extras/contrib/src/Patches/libprojectM-win32.patch
index d66635b..88204b4 100644
--- a/extras/contrib/src/Patches/libprojectM-win32.patch
+++ b/extras/contrib/src/Patches/libprojectM-win32.patch
@@ -174,3 +174,28 @@ diff -ruN libprojectM.new/Renderer/Renderer.cpp libprojectM/Renderer/Renderer.cp
draw_title_to_screen(false);
if (this->showhelp % 2)
draw_help();
+diff -ruN libprojectM/RandomNumberGenerators.hpp libprojectM.new/RandomNumberGenerators.hpp
+--- libprojectM/RandomNumberGenerators.hpp 2009-12-01 07:38:42.000000000 +0100
++++ libprojectM.new/RandomNumberGenerators.hpp 2010-01-09 01:09:38.000000000 +0100
+@@ -4,6 +4,7 @@
+ #include <vector>
+ #include <cassert>
+ #include <iostream>
++#include <stdlib.h>
+
+ #define WEIGHTED_RANDOM_DEBUG 0
+
+diff -ruN libprojectM/Renderer/TextureManager.cpp libprojectM.new/Renderer/TextureManager.cpp
+--- libprojectM/Renderer/TextureManager.cpp 2010-01-09 01:16:11.000000000 +0100
++++ libprojectM.new/Renderer/TextureManager.cpp 2010-01-09 01:03:59.000000000 +0100
+@@ -30,6 +30,10 @@
+ #include "IdleTextures.hpp"
+
+
++#include <stdio.h>
++#include <stdlib.h>
++#include <time.h>
++
+
+ TextureManager::TextureManager(const std::string _presetURL): presetURL(_presetURL)
+ {
More information about the vlc-devel
mailing list