svn commit: r316496 - head/x11/kdelibs3/files
Mikhail Teterin
mi at FreeBSD.org
Thu Apr 25 02:46:13 UTC 2013
Author: mi
Date: Thu Apr 25 02:46:12 2013
New Revision: 316496
URL: http://svnweb.freebsd.org/changeset/ports/316496
Log:
Add a small patch to allow building kdelibs3 with g++48
Added:
head/x11/kdelibs3/files/patch-kate_part_katehighlight.cpp (contents, props changed)
Added: head/x11/kdelibs3/files/patch-kate_part_katehighlight.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/kdelibs3/files/patch-kate_part_katehighlight.cpp Thu Apr 25 02:46:12 2013 (r316496)
@@ -0,0 +1,24 @@
+The earlier g++ tolerated this, but g++48 does not...
+With this patch kdelibs3 can be compiled with the latest compiler.
+
+ -mi
+
+--- kate/part/katehighlight.cpp 2007-05-14 03:52:27.000000000 -0400
++++ kate/part/katehighlight.cpp 2013-04-24 20:37:19.000000000 -0400
+@@ -3226,5 +3226,5 @@
+
+ KateAttribute* string = new KateAttribute();
+- string->setTextColor(QColor::QColor("#D00"));
++ string->setTextColor(QColor("#D00"));
+ string->setSelectedTextColor(Qt::red);
+ list.append(string);
+@@ -3243,7 +3243,7 @@
+ KateAttribute* alert = new KateAttribute();
+ alert->setTextColor(Qt::black);
+- alert->setSelectedTextColor( QColor::QColor("#FCC") );
++ alert->setSelectedTextColor( QColor("#FCC") );
+ alert->setBold(true);
+- alert->setBGColor( QColor::QColor("#FCC") );
++ alert->setBGColor( QColor("#FCC") );
+ list.append(alert);
+
More information about the svn-ports-all
mailing list