aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2016-01-21 21:01:55 +0800
committerrakuco <rakuco@FreeBSD.org>2016-01-21 21:01:55 +0800
commit5c55130cd0518d584fda2fe6bfd3eccd107dbdcd (patch)
treee9c550200ed816bcf15164e113262d53ead6ef3d /sysutils
parenta8b3f2c4f371af723417d4b5dfcf05ada9935548 (diff)
downloadfreebsd-ports-gnome-5c55130cd0518d584fda2fe6bfd3eccd107dbdcd.tar.gz
freebsd-ports-gnome-5c55130cd0518d584fda2fe6bfd3eccd107dbdcd.tar.zst
freebsd-ports-gnome-5c55130cd0518d584fda2fe6bfd3eccd107dbdcd.zip
Pull in an upstream commit to fix the build with the upcoming Qt 5.5.1.
Contrary to what the upstream commit message says, this is also required on FreeBSD 10.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pcbsd-utils-qt5/files/patch-git_9c21825329
1 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/pcbsd-utils-qt5/files/patch-git_9c218253 b/sysutils/pcbsd-utils-qt5/files/patch-git_9c218253
new file mode 100644
index 000000000000..cd65464b3987
--- /dev/null
+++ b/sysutils/pcbsd-utils-qt5/files/patch-git_9c218253
@@ -0,0 +1,29 @@
+From 9c21825332543189ca7083171c7aff9f1e3aff06 Mon Sep 17 00:00:00 2001
+From: Ken Moore <moorekou@gmail.com>
+Date: Wed, 28 Oct 2015 13:55:55 -0400
+Subject: [PATCH] Add a couple "const" declarations to the PC-BSD utilities
+ keyboard settings classes. This is apparently needed for 11.x compilation.
+
+---
+ src-qt5/libpcbsd/utils/keyboardsettings.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+--- libpcbsd/utils/keyboardsettings.h
++++ libpcbsd/utils/keyboardsettings.h
+@@ -41,7 +41,7 @@ namespace keyboard
+ SLayout(){;}
+ SLayout(QString layout, QString variant):layout_id(layout),variant_id(variant){;}
+
+- bool operator==(const SLayout& l)
++ bool operator==(const SLayout& l) const
+ {
+ return (layout_id == l.layout_id) && (variant_id == l.variant_id);
+ }
+@@ -80,7 +80,7 @@ namespace keyboard
+ group_name = fullName.split(":")[0];
+ option = fullName.split(":")[1];
+ }
+- bool operator==(const SOption& opt)
++ bool operator==(const SOption& opt) const
+ {
+ return ((group_name == opt.group_name)&&(option == opt.option));
+ }