summaryrefslogtreecommitdiff
blob: af5b1a0d196eb347cc84c4449658158d430afa84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -Naur freepv-0.3.0.orig/src/libfreepv/OpenGLRenderer.cpp freepv-0.3.0/src/libfreepv/OpenGLRenderer.cpp
--- freepv-0.3.0.orig/src/libfreepv/OpenGLRenderer.cpp	2010-03-11 16:15:04.000000000 +0100
+++ freepv-0.3.0/src/libfreepv/OpenGLRenderer.cpp	2010-03-11 16:25:15.000000000 +0100
@@ -26,7 +26,8 @@
 #include <config.h>
 
 #include <vector>
-#include <math.h>
+#include <cmath>
+#include <cstdio>
 
 #include "OpenGLRenderer.h"
 #include "Scene.h"
diff -Naur freepv-0.3.0.orig/src/libfreepv/QTVRDecoder.cpp freepv-0.3.0/src/libfreepv/QTVRDecoder.cpp
--- freepv-0.3.0.orig/src/libfreepv/QTVRDecoder.cpp	2010-03-11 16:15:04.000000000 +0100
+++ freepv-0.3.0/src/libfreepv/QTVRDecoder.cpp	2010-03-11 16:25:15.000000000 +0100
@@ -42,6 +42,7 @@
 #include <errno.h>
 #include <vector>
 #include <cstring>
+#include <cstdio>
 
 #include <zlib.h>
 
diff -Naur freepv-0.3.0.orig/src/libfreepv/SPiVparser.cpp freepv-0.3.0/src/libfreepv/SPiVparser.cpp
--- freepv-0.3.0.orig/src/libfreepv/SPiVparser.cpp	2010-03-11 16:15:04.000000000 +0100
+++ freepv-0.3.0/src/libfreepv/SPiVparser.cpp	2010-03-11 16:18:53.000000000 +0100
@@ -488,8 +488,8 @@
 //This method remplace the nodes that has src attributes
 void SPiVparser::parseNodeURL(const char* _url)
 {
-    char * aux_url=NULL;
-    char * url=(char*) _url;
+    const char * aux_url=NULL;
+    const char * url=(char*) _url;
     if(aux_url = strrchr (_url,'/'))
     {
        url=aux_url;
diff -Naur freepv-0.3.0.orig/src/libfreepv/Utils/signatures.cpp freepv-0.3.0/src/libfreepv/Utils/signatures.cpp
--- freepv-0.3.0.orig/src/libfreepv/Utils/signatures.cpp	2010-03-11 16:15:04.000000000 +0100
+++ freepv-0.3.0/src/libfreepv/Utils/signatures.cpp	2010-03-11 16:25:15.000000000 +0100
@@ -24,6 +24,7 @@
 
 #include "signatures.h"
 #include <iostream>
+#include <cstdio>
 
 namespace FPV{
 namespace Utils{
diff -Naur freepv-0.3.0.orig/src/libfreepv/utils.cpp freepv-0.3.0/src/libfreepv/utils.cpp
--- freepv-0.3.0.orig/src/libfreepv/utils.cpp	2010-03-11 16:15:04.000000000 +0100
+++ freepv-0.3.0/src/libfreepv/utils.cpp	2010-03-11 16:25:15.000000000 +0100
@@ -23,6 +23,7 @@
  */
 
 #include <algorithm>
+#include <cstdio>
 
 #include "utils.h"