Overview

Request 217 (accepted)

fix build with gcc 4.7 (add missing includes)

Submit package home:seife:b...s:Multimedia / oggvideotools to package Multimedia / oggvideotools

oggvideotools.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Sat May 19 11:57:58 UTC 2012 - seife+obs@b1-systems.com
4
+
5
+- fix build with gcc 4.7 (add missing includes)
6
+
7
+-------------------------------------------------------------------
8
 Sun Sep  6 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
9
 
10
 - update to 0.8:
11
oggvideotools.spec Changed
17
 
1
@@ -7,6 +7,7 @@
2
 # http://prdownloads.sourceforge.net/oggvideotools/oggvideotools-%{version}.tar.gz
3
 Source:         oggvideotools-%{version}.tar.bz2
4
 Patch1:         oggvideotools-fix_nonvoid_return.patch
5
+Patch2:         oggvideotools-gcc47-includes.patch
6
 URL:            http://dev.streamnik.de/oggvideotools.html
7
 Group:          Productivity/Multimedia/Video/Editors and Convertors
8
 License:        GNU General Public License version 2 (GPL v2)
9
@@ -24,6 +25,7 @@
10
 %prep
11
 %setup -q
12
 %patch1
13
+%patch2 -p1
14
 
15
 %build
16
 %configure
17
oggvideotools-gcc47-includes.patch Added
130
 
1
@@ -0,0 +1,128 @@
2
+Index: b/src/oggDump.cpp
3
+===================================================================
4
+--- a/src/oggDump.cpp
5
++++ b/src/oggDump.cpp
6
+@@ -29,10 +29,11 @@
7
+ #include <vector>
8
+ #include <sstream>
9
+ #include <fstream>
10
+ #include <ostream>
11
+ #include <cstdlib>
12
++#include <unistd.h>
13
+ 
14
+ #include "fileRepository.h"
15
+ #include "rawMediaPacket.h"
16
+ #include "oggDecoder.h"
17
+ #include "oggEncoder.h"
18
+Index: b/src/oggCut.cpp
19
+===================================================================
20
+--- a/src/oggCut.cpp
21
++++ b/src/oggCut.cpp
22
+@@ -27,10 +27,11 @@
23
+ #include <iostream>
24
+ #include <sstream>
25
+ #include <map>
26
+ #include <cstdlib>
27
+ #include <ctime>
28
++#include <unistd.h>
29
+ 
30
+ #include "fileRepository.h"
31
+ #include "streamSerializer.h"
32
+ #include "streamMux.h"
33
+ #include "oggEncoder.h"
34
+Index: b/src/oggLength.cpp
35
+===================================================================
36
+--- a/src/oggLength.cpp
37
++++ b/src/oggLength.cpp
38
+@@ -25,10 +25,11 @@
39
+ #endif
40
+ 
41
+ #include <iostream>
42
+ #include <string>
43
+ #include <cstdlib>
44
++#include <unistd.h>
45
+ 
46
+ #include "fileRepository.h"
47
+ #include "streamSerializer.h"
48
+ 
49
+ void printHelpScreen(std::string& progName)
50
+Index: b/src/oggScroll.cpp
51
+===================================================================
52
+--- a/src/oggScroll.cpp
53
++++ b/src/oggScroll.cpp
54
+@@ -20,10 +20,11 @@
55
+  */
56
+ 
57
+ #include <iostream>
58
+ #include <map>
59
+ #include <termios.h>
60
++#include <unistd.h>
61
+ #include <SDL/SDL.h>
62
+ 
63
+ #include "fileRepository.h"
64
+ #include "streamSerializer.h"
65
+ #include "theoraDecoder.h"
66
+Index: b/src/oggSlideshow.cpp
67
+===================================================================
68
+--- a/src/oggSlideshow.cpp
69
++++ b/src/oggSlideshow.cpp
70
+@@ -31,10 +31,11 @@
71
+ #include <sstream>
72
+ #include <cstdlib>
73
+ #include <cmath>
74
+ #include <cstring>
75
+ #include <ctime>
76
++#include <unistd.h>
77
+ //#include <cc++/slog.h>
78
+ 
79
+ #include "th_helper.h"
80
+ 
81
+ #include "definition.h"
82
+Index: b/src/oggSilence.cpp
83
+===================================================================
84
+--- a/src/oggSilence.cpp
85
++++ b/src/oggSilence.cpp
86
+@@ -28,10 +28,11 @@
87
+ #include <vector>
88
+ #include <iostream>
89
+ #include <sstream>
90
+ #include <cstdlib>
91
+ #include <ctime>
92
++#include <unistd.h>
93
+ 
94
+ #include "vorbisEncoder.h"
95
+ #include "streamMux.h"
96
+ #include "fileRepository.h"
97
+ #include "oggComment.h"
98
+Index: b/src/oggThumb.cpp
99
+===================================================================
100
+--- a/src/oggThumb.cpp
101
++++ b/src/oggThumb.cpp
102
+@@ -30,10 +30,11 @@
103
+ #include <sstream>
104
+ #include <string>
105
+ #include <iostream>
106
+ #include <cstdlib>
107
+ #include <queue>
108
++#include <unistd.h>
109
+ 
110
+ #include "fileRepository.h"
111
+ #include "streamSerializer.h"
112
+ #include "theoraDecoder.h"
113
+ #include "theoraStreamParameter.h"
114
+Index: b/src/oggResize.cpp
115
+===================================================================
116
+--- a/src/oggResize.cpp
117
++++ b/src/oggResize.cpp
118
+@@ -32,10 +32,11 @@
119
+ 
120
+ #include <cstring>
121
+ #include <cstdlib>
122
+ #include <cmath>
123
+ #include <ctime>
124
++#include <unistd.h>
125
+ 
126
+ #ifdef HAVE_CONFIG_H
127
+ #include "config.h"
128
+ #endif
129
+ 
130
Refresh

No build results available

Refresh

No rpmlint results available

Request History
Stefan Seyfried's avatar

seife created request over 11 years ago

fix build with gcc 4.7 (add missing includes)


Stefan Seyfried's avatar

seife accepted request almost 13 years ago

fix build with gcc 4.7 (add missing includes)