Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2020 11:46:06 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533686 - in head/math/speedcrunch: . files
Message-ID:  <202005021146.042Bk6Iv037708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Sat May  2 11:46:06 2020
New Revision: 533686
URL: https://svnweb.freebsd.org/changeset/ports/533686

Log:
  math/speedcrunch: fix build with qt5.14
  
  PR:		246033
  Approved by:	danfe (maintainer)

Added:
  head/math/speedcrunch/files/
  head/math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp   (contents, props changed)
Modified:
  head/math/speedcrunch/Makefile

Modified: head/math/speedcrunch/Makefile
==============================================================================
--- head/math/speedcrunch/Makefile	Sat May  2 11:21:36 2020	(r533685)
+++ head/math/speedcrunch/Makefile	Sat May  2 11:46:06 2020	(r533686)
@@ -13,8 +13,6 @@ COMMENT=	Keyboard-oriented desktop scientific calculat
 
 LICENSE=	GPLv2+
 
-BROKEN=		Does not build with Qt5-5.14
-
 BB_ACCOUNT=	heldercorreia
 BB_PROJECT=	${PORTNAME}
 BB_COMMIT=	c0fc9c68d292

Added: head/math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp	Sat May  2 11:46:06 2020	(r533686)
@@ -0,0 +1,11 @@
+--- gui/syntaxhighlighter.cpp.orig	2020-04-29 20:42:12 UTC
++++ gui/syntaxhighlighter.cpp
+@@ -128,7 +128,7 @@ ColorScheme ColorScheme::loadFromFile(const QString& p
+ ColorScheme ColorScheme::loadByName(const QString& name)
+ {
+     for (auto& path : colorSchemeSearchPaths()) {
+-        auto fileName = QString("%1/%2.%3").arg(path, name, m_colorSchemeExtension);
++        auto fileName = QString("%1/%2.%3").arg(path).arg(name).arg(m_colorSchemeExtension);
+         auto colorScheme = loadFromFile(fileName);
+         if (colorScheme.isValid())
+             return colorScheme;



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