summaryrefslogtreecommitdiff
path: root/package/qt/qt-4.5.2-fix-qt-zlib-build.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-27 15:24:12 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-27 15:24:12 +0200
commit074d73a919d8de5ccce04eb79e1940f202f604b3 (patch)
tree5c8c4fdac933a072ed774b952dc3e3304d90b96f /package/qt/qt-4.5.2-fix-qt-zlib-build.patch
parent53fd73611c93f55215356444a15d3f615fd74003 (diff)
parent314cdcbd2541cae9fb1709831ec67e36508ac793 (diff)
Merge branch 'qt' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/qt/qt-4.5.2-fix-qt-zlib-build.patch')
-rw-r--r--package/qt/qt-4.5.2-fix-qt-zlib-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/qt/qt-4.5.2-fix-qt-zlib-build.patch b/package/qt/qt-4.5.2-fix-qt-zlib-build.patch
new file mode 100644
index 000000000..b191cc751
--- /dev/null
+++ b/package/qt/qt-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
++}