Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2017 10:55:20 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453968 - in head/x11-toolkits/kf5-kirigami2: . files
Message-ID:  <201711111055.vABAtK1d054666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Nov 11 10:55:20 2017
New Revision: 453968
URL: https://svnweb.freebsd.org/changeset/ports/453968

Log:
  x11-toolkits/kf5-kirigami -- add upstream patch
  
  There was a use of a Qt>5.7 syntax in kf5-kirigami. Which could make it segfault.

Added:
  head/x11-toolkits/kf5-kirigami2/files/
  head/x11-toolkits/kf5-kirigami2/files/patch-git_eed28b   (contents, props changed)
Modified:
  head/x11-toolkits/kf5-kirigami2/Makefile

Modified: head/x11-toolkits/kf5-kirigami2/Makefile
==============================================================================
--- head/x11-toolkits/kf5-kirigami2/Makefile	Sat Nov 11 10:33:21 2017	(r453967)
+++ head/x11-toolkits/kf5-kirigami2/Makefile	Sat Nov 11 10:55:20 2017	(r453968)
@@ -3,6 +3,7 @@
 
 PORTNAME=	kirigami2
 PORTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits kde kde-frameworks
 
 MAINTAINER=	kde@FreeBSD.org

Added: head/x11-toolkits/kf5-kirigami2/files/patch-git_eed28b
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/kf5-kirigami2/files/patch-git_eed28b	Sat Nov 11 10:55:20 2017	(r453968)
@@ -0,0 +1,27 @@
+From eed28bbd8aec29cb9a045a5188ceb0e27ff33344 Mon Sep 17 00:00:00 2001
+From: Marco Martin <notmart@gmail.com>
+Date: Fri, 3 Nov 2017 16:57:11 +0100
+Subject: syntax working on older Qt 5.7
+
+BUG:385785
+---
+ src/controls/Page.qml | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/controls/Page.qml b/src/controls/Page.qml
+index c2d0307..4498e40 100644
+--- src/controls/Page.qml
++++ src/controls/Page.qml
+@@ -256,7 +256,8 @@ T2.Page {
+             right: parent.right
+             bottom: parent.bottom
+         }
+-        property T2.Page page: root
++        //It should be T2.Page, Qt 5.7 doesn't like it
++        property Item page: root
+         height: item ? item.height : 0
+         source: (applicationWindow().header && applicationWindow().header.toString().indexOf("ToolBarApplicationHeader") === 0) ||
+                 (applicationWindow().footer && applicationWindow().footer.visible && applicationWindow().footer.toString().indexOf("ToolBarApplicationHeader") === 0)
+-- 
+cgit v0.11.2
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711111055.vABAtK1d054666>