aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2013-04-25 10:46:12 +0800
committermi <mi@FreeBSD.org>2013-04-25 10:46:12 +0800
commit9ad0c8fa87e607ae7d26f1a904b4ba79484f0812 (patch)
treef7c4b21d458144f4d622e0ab42a2acdab048fffd /x11
parent7bf10efda793414115da582e69af0a03dca76b22 (diff)
downloadfreebsd-ports-gnome-9ad0c8fa87e607ae7d26f1a904b4ba79484f0812.tar.gz
freebsd-ports-gnome-9ad0c8fa87e607ae7d26f1a904b4ba79484f0812.tar.zst
freebsd-ports-gnome-9ad0c8fa87e607ae7d26f1a904b4ba79484f0812.zip
Add a small patch to allow building kdelibs3 with g++48
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs3/files/patch-kate_part_katehighlight.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-kate_part_katehighlight.cpp b/x11/kdelibs3/files/patch-kate_part_katehighlight.cpp
new file mode 100644
index 000000000000..35a34198025a
--- /dev/null
+++ b/x11/kdelibs3/files/patch-kate_part_katehighlight.cpp
@@ -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);
+