smock: use $basearch in smock.mock.extra
[fedora-mingw.git] / inkscape / mingw32-inkscape-20568-gcc44.patch
1 diff -ur inkscape-20568/src/dom/domimpl.cpp inkscape-20568.mingw/src/dom/domimpl.cpp
2 --- inkscape-20568/src/dom/domimpl.cpp  2009-01-25 12:21:13.000000000 +0000
3 +++ inkscape-20568.mingw/src/dom/domimpl.cpp    2009-02-21 15:52:19.000000000 +0000
4 @@ -27,6 +27,7 @@
5   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
6   */
7  
8 +#include <cstdio>
9  
10  #include "domimpl.h"
11  
12 diff -ur inkscape-20568/src/dom/io/domstream.h inkscape-20568.mingw/src/dom/io/domstream.h
13 --- inkscape-20568/src/dom/io/domstream.h       2009-01-25 12:21:13.000000000 +0000
14 +++ inkscape-20568.mingw/src/dom/io/domstream.h 2009-02-21 15:45:37.000000000 +0000
15 @@ -29,7 +29,7 @@
16   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17   */
18  
19 -
20 +#include <cstdio>
21  
22  #include <dom/dom.h>
23  
24 diff -ur inkscape-20568/src/dom/io/socket.cpp inkscape-20568.mingw/src/dom/io/socket.cpp
25 --- inkscape-20568/src/dom/io/socket.cpp        2009-01-25 12:21:13.000000000 +0000
26 +++ inkscape-20568.mingw/src/dom/io/socket.cpp  2009-02-21 16:04:43.000000000 +0000
27 @@ -35,6 +35,8 @@
28  #include <sys/filio.h>   // needed on Solaris 8
29  #endif
30  
31 +#include <cstdio>
32 +
33  #include "socket.h"
34  #include "dom/util/thread.h"
35  
36 diff -ur inkscape-20568/src/dom/svgimpl.cpp inkscape-20568.mingw/src/dom/svgimpl.cpp
37 --- inkscape-20568/src/dom/svgimpl.cpp  2009-01-25 12:21:13.000000000 +0000
38 +++ inkscape-20568.mingw/src/dom/svgimpl.cpp    2009-02-21 15:53:40.000000000 +0000
39 @@ -27,6 +27,7 @@
40   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
41   */
42  
43 +#include <cstdio>
44  #include "svgimpl.h"
45  #include <cstring>
46  using std::strcmp;
47 diff -ur inkscape-20568/src/dom/svgreader.cpp inkscape-20568.mingw/src/dom/svgreader.cpp
48 --- inkscape-20568/src/dom/svgreader.cpp        2009-01-25 12:21:13.000000000 +0000
49 +++ inkscape-20568.mingw/src/dom/svgreader.cpp  2009-02-21 15:53:27.000000000 +0000
50 @@ -33,6 +33,8 @@
51   */
52  
53  
54 +#include <cstdio>
55 +
56  #include "svgreader.h"
57  #include "dom/cssreader.h"
58  #include "dom/ucd.h"
59 diff -ur inkscape-20568/src/dom/svgtypes.h inkscape-20568.mingw/src/dom/svgtypes.h
60 --- inkscape-20568/src/dom/svgtypes.h   2009-01-25 12:21:13.000000000 +0000
61 +++ inkscape-20568.mingw/src/dom/svgtypes.h     2009-02-21 15:53:13.000000000 +0000
62 @@ -40,6 +40,7 @@
63   *          
64   */
65  
66 +#include <cstdio>
67  
68  // For access to DOM2 core
69  #include "dom/dom.h"
70 diff -ur inkscape-20568/src/dom/xpathtoken.h inkscape-20568.mingw/src/dom/xpathtoken.h
71 --- inkscape-20568/src/dom/xpathtoken.h 2009-01-25 12:21:13.000000000 +0000
72 +++ inkscape-20568.mingw/src/dom/xpathtoken.h   2009-02-21 15:55:15.000000000 +0000
73 @@ -30,6 +30,7 @@
74   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
75   */
76  
77 +#include <cstdio>
78  
79  #include "dom.h"
80  
81 diff -ur inkscape-20568/src/io/gzipstream.cpp inkscape-20568.mingw/src/io/gzipstream.cpp
82 --- inkscape-20568/src/io/gzipstream.cpp        2009-01-25 12:21:07.000000000 +0000
83 +++ inkscape-20568.mingw/src/io/gzipstream.cpp  2009-02-21 16:07:44.000000000 +0000
84 @@ -13,6 +13,8 @@
85   * Released under GNU GPL, read the file 'COPYING' for more information
86   */
87  
88 +#include <cstdio>
89 +
90  #include "gzipstream.h"
91  #include <cstring>
92  #include <string>
93 diff -ur inkscape-20568/src/io/inkscapestream.h inkscape-20568.mingw/src/io/inkscapestream.h
94 --- inkscape-20568/src/io/inkscapestream.h      2009-01-25 12:21:07.000000000 +0000
95 +++ inkscape-20568.mingw/src/io/inkscapestream.h        2009-02-21 16:07:27.000000000 +0000
96 @@ -12,6 +12,7 @@
97   */
98  
99  
100 +#include <cstdio>
101  #include <glibmm.h>
102  
103  namespace Inkscape
104 diff -ur inkscape-20568/src/libavoid/vertices.h inkscape-20568.mingw/src/libavoid/vertices.h
105 --- inkscape-20568/src/libavoid/vertices.h      2009-01-25 12:21:12.000000000 +0000
106 +++ inkscape-20568.mingw/src/libavoid/vertices.h        2009-02-21 15:14:23.000000000 +0000
107 @@ -23,6 +23,7 @@
108  #ifndef AVOID_VERTICES_H
109  #define AVOID_VERTICES_H
110  
111 +#include <cstdio>
112  #include <list>
113  #include <set>
114  #include <map>
115 diff -ur inkscape-20568/src/libnr/nr-matrix-fns.cpp inkscape-20568.mingw/src/libnr/nr-matrix-fns.cpp
116 --- inkscape-20568/src/libnr/nr-matrix-fns.cpp  2009-01-25 12:21:11.000000000 +0000
117 +++ inkscape-20568.mingw/src/libnr/nr-matrix-fns.cpp    2009-02-21 15:50:31.000000000 +0000
118 @@ -1,3 +1,5 @@
119 +#include <cstdio>
120 +
121  #include <libnr/nr-matrix-fns.h>
122  
123  namespace NR {
124 diff -ur inkscape-20568/src/registrytool.cpp inkscape-20568.mingw/src/registrytool.cpp
125 --- inkscape-20568/src/registrytool.cpp 2009-01-25 12:21:08.000000000 +0000
126 +++ inkscape-20568.mingw/src/registrytool.cpp   2009-02-21 16:08:04.000000000 +0000
127 @@ -25,6 +25,8 @@
128   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
129   */
130  
131 +#include <cstdio>
132 +
133  #include <windows.h>
134  #include <string>
135  
136 diff -ur inkscape-20568/src/xml/event.cpp inkscape-20568.mingw/src/xml/event.cpp
137 --- inkscape-20568/src/xml/event.cpp    2009-01-25 12:21:21.000000000 +0000
138 +++ inkscape-20568.mingw/src/xml/event.cpp      2009-02-21 16:06:09.000000000 +0000
139 @@ -13,6 +13,8 @@
140   * Released under GNU GPL, read the file 'COPYING' for more information
141   */
142  
143 +#include <cstdio>
144 +
145  #include <glib.h> // g_assert()
146  
147  #include "event.h"