svn commit: r457603 - head/x11-themes/qtcurve/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Sat Dec 30 16:04:13 UTC 2017


Author: rakuco
Date: Sat Dec 30 16:04:12 2017
New Revision: 457603
URL: https://svnweb.freebsd.org/changeset/ports/457603

Log:
  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

Added:
  head/x11-themes/qtcurve/files/patch-7ddd378   (contents, props changed)

Added: head/x11-themes/qtcurve/files/patch-7ddd378
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-themes/qtcurve/files/patch-7ddd378	Sat Dec 30 16:04:12 2017	(r457603)
@@ -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 at 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
+


More information about the svn-ports-head mailing list