summaryrefslogtreecommitdiff
path: root/x11-themes/qtcurve
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2017-12-30 16:04:12 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2017-12-30 16:04:12 +0000
commitfd318a51e8d800eb3ae0e8a0c75fecf3c0383ab7 (patch)
tree8d4a7de26fbc534cf7925821257aeef4a4f5f614 /x11-themes/qtcurve
parentUpdate devel/erlang-gpb to version 4.1.0. (diff)
qtcurve-qt5: Add an upstream patch to fix the build with Qt 5.9.
There's no need to bump PORTREVISION, the port is currently building fine with Qt 5.7.1. Submitted by: tcberner
Notes
Notes: svn path=/head/; revision=457603
Diffstat (limited to 'x11-themes/qtcurve')
-rw-r--r--x11-themes/qtcurve/files/patch-7ddd37834
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/files/patch-7ddd378 b/x11-themes/qtcurve/files/patch-7ddd378
new file mode 100644
index 000000000000..d9acde1e907c
--- /dev/null
+++ b/x11-themes/qtcurve/files/patch-7ddd378
@@ -0,0 +1,34 @@
+From 7ddd3782ea5635cc0d6a6d292824da85ae9d1bb8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ren=C3=A9=20J=2EV=2E=20Bertin?= <rjvbertin@gmail.com>
+Date: Mon, 17 Apr 2017 11:11:31 +0200
+Subject: Make build against Qt 5.9.0
+
+---
+ qt5/style/qtcurve.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/qt5/style/qtcurve.h b/qt5/style/qtcurve.h
+index 6930c08..aedcd16 100644
+--- a/qt5/style/qtcurve.h
++++ b/qt5/style/qtcurve.h
+@@ -379,7 +379,7 @@ private:
+ void emitMenuSize(QWidget *w, unsigned short size, bool force=false);
+ void emitStatusBarState(QStatusBar *sb);
+ const QColor&
+- MOArrow(QFlags<State> state, const QPalette &palette, bool mo,
++ MOArrow(State state, const QPalette &palette, bool mo,
+ QPalette::ColorRole rol) const
+ {
+ if (!(state & State_Enabled)) {
+@@ -391,7 +391,7 @@ private:
+ }
+ }
+ const QColor&
+- MOArrow(QFlags<State> state, const QPalette &palette,
++ MOArrow(State state, const QPalette &palette,
+ QPalette::ColorRole rol) const
+ {
+ return MOArrow(state, palette, state & State_MouseOver, rol);
+--
+cgit v0.11.2
+