summaryrefslogtreecommitdiff
path: root/package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-03 13:20:35 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-03 13:20:35 +0200
commitddd0db77ab2d2f9a2cf60304b773507a563da6c5 (patch)
tree085437c8866a1fb2dbcaa8c5c6c6e0b8b2ccfe69 /package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch
parent8ae604912bbe506e617d12bf8db3db9cb04d14ab (diff)
parenta1125b31af64bb3fbe40b7db2be0e70f4c2471bb (diff)
Merge branch 'qtopia-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch')
-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
++}