summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-03 10:44:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-03 11:13:24 +0200
commita1125b31af64bb3fbe40b7db2be0e70f4c2471bb (patch)
tree214a7f9a20cf60092acb580c455569206d29e541
parent1bbceff78a123a3f1e0422f17be12e7ffd28f803 (diff)
New build fix for Qtopia4
The new patch fixes the build failure when BR2_PACKAGE_QTOPIA4_QTZLIB=y.
-rw-r--r--package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch b/package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch
new file mode 100644
index 000000000..b191cc751
--- /dev/null
+++ b/package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch
@@ -0,0 +1,20 @@
+When QT is compiled in qt-zlib mode, compilation of
+src/gui/painting/qprintengine_pdf.cpp fails because zlib.h is not
+found. The following patch adds the internal QT zlib directory to the
+include path to fix this issue.
+
+---
+ src/gui/painting/painting.pri | 3 +++
+ 1 file changed, 3 insertions(+)
+
+Index: qt-embedded-linux-opensource-src-4.5.2/src/gui/painting/painting.pri
+===================================================================
+--- qt-embedded-linux-opensource-src-4.5.2.orig/src/gui/painting/painting.pri
++++ qt-embedded-linux-opensource-src-4.5.2/src/gui/painting/painting.pri
+@@ -367,3 +367,6 @@
+ SOURCES += painting/qwindowsurface_d3d.cpp
+ }
+
++contains(QT_CONFIG, zlib) {
++ INCLUDEPATH += ../3rdparty/zlib
++}