aboutsummaryrefslogtreecommitdiffstats
path: root/packages/qte/qte-4.0.0-snapshot/gcc34.patch
blob: 603e230dd5e70ce7cee615642bf7ca27af188101 (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
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- qt-embedded-opensource-4.0.0-b1/src/core/tools/qchar.h~gcc34
+++ qt-embedded-opensource-4.0.0-b1/src/core/tools/qchar.h
@@ -197,7 +197,7 @@
     const char ascii() const;
     const char latin1() const;
     inline const ushort unicode() const { return ucs; }
-    inline ushort &unicode() { return ucs; }
+    inline ushort &unicode() { return *(&ucs); }
 
     static QChar fromAscii(char c);
     static QChar fromLatin1(char c);
--- qt-embedded-opensource-4.0.0-b1/src/gui/embedded/qgfxlinuxfb_qws.cpp~gcc34
+++ qt-embedded-opensource-4.0.0-b1/src/gui/embedded/qgfxlinuxfb_qws.cpp
@@ -31,6 +31,7 @@
 
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>