diff --git a/qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch b/qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch new file mode 100644 index 0000000..3672ca7 --- /dev/null +++ b/qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch @@ -0,0 +1,11 @@ +diff -up qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp.QTBUG-14724 qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp +--- qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp.QTBUG-14724 2011-10-03 22:44:31.000000000 -0500 ++++ qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp 2011-10-17 10:55:49.713265396 -0500 +@@ -1686,6 +1686,7 @@ bool QPdfBaseEnginePrivate::openPrintDev + cupsTempFile = ret.second; + outDevice = new QFile(); + static_cast(outDevice)->open(ret.first, QIODevice::WriteOnly); ++ fd = ret.first; + #endif + #ifndef QT_NO_LPR + } else { diff --git a/qt.spec b/qt.spec index 0e01b24..f65f5a8 100644 --- a/qt.spec +++ b/qt.spec @@ -11,7 +11,7 @@ Summary: Qt toolkit Name: qt Epoch: 1 Version: 4.8.0 -Release: 0.15.rc1%{?dist} +Release: 0.16.rc1%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT @@ -79,6 +79,9 @@ Patch68: webkit-qtwebkit-2.2-no_Werror.patch # revert qlist.h commit that seems to induce crashes in qDeleteAll 4.8.0-0.16.rc1 +- Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724) + * Sat Oct 15 2011 Rex Dieter 4.8.0-0.15.rc1 - revert qlist.h commit that seems to induce crashes in qDeleteAll