[GIT] 01/02: Add patch to fix build with Qt 5.3
Ritesh Raj Sarraf
rrs at moszumanska.debian.org
Sun Feb 8 15:07:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
rrs pushed a commit to branch master
in repository qtcurve.
commit 110105693ac812963c5cd468c29f9db9abf2de40
Author: Ritesh Raj Sarraf <rrs at debian.org>
Date: Sun Feb 8 20:17:12 2015 +0530
Add patch to fix build with Qt 5.3
Closes: 777128
---
debian/patches/qt53-build-fix.diff | 45 ++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 46 insertions(+)
diff --git a/debian/patches/qt53-build-fix.diff b/debian/patches/qt53-build-fix.diff
new file mode 100644
index 0000000..b4c3888
--- /dev/null
+++ b/debian/patches/qt53-build-fix.diff
@@ -0,0 +1,45 @@
+Fix build with qt5.3
+Index: qtcurve/qt5/style/qtcurve_api.cpp
+===================================================================
+--- qtcurve.orig/qt5/style/qtcurve_api.cpp 2015-02-08 20:16:47.671846314 +0530
++++ qtcurve/qt5/style/qtcurve_api.cpp 2015-02-08 20:16:47.667846315 +0530
+@@ -67,25 +67,6 @@
+
+ #include <QDebug>
+
+-extern QString (*qt_filedialog_existing_directory_hook)(
+- QWidget *parent, const QString &caption, const QString &dir,
+- QFileDialog::Options options);
+-
+-extern QString (*qt_filedialog_open_filename_hook)(
+- QWidget *parent, const QString &caption, const QString &dir,
+- const QString &filter, QString *selectedFilter,
+- QFileDialog::Options options);
+-
+-extern QStringList (*qt_filedialog_open_filenames_hook)(
+- QWidget * parent, const QString &caption, const QString &dir,
+- const QString &filter, QString *selectedFilter,
+- QFileDialog::Options options);
+-
+-extern QString (*qt_filedialog_save_filename_hook)(
+- QWidget *parent, const QString &caption, const QString &dir,
+- const QString &filter, QString *selectedFilter,
+- QFileDialog::Options options);
+-
+ namespace QtCurve {
+
+ void
+@@ -163,13 +144,6 @@
+ opts.menuBgndAppearance = APPEARANCE_FLAT;
+ }
+
+- if (opts.useQtFileDialogApps.contains(appName)) {
+- qt_filedialog_existing_directory_hook = 0L;
+- qt_filedialog_open_filename_hook = 0L;
+- qt_filedialog_open_filenames_hook = 0L;
+- qt_filedialog_save_filename_hook = 0L;
+- }
+-
+ QCommonStyle::polish(app);
+ if (opts.hideShortcutUnderline) {
+ app->installEventFilter(m_shortcutHandler);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b7ffa10
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+qt53-build-fix.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-kde/kde-extras/qtcurve.git
More information about the pkg-kde-commits
mailing list