aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2018-08-27 21:19:57 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2018-08-27 21:19:57 +0000
commit4658d003e987a1cd771ee1e3b4027c2e880c784d (patch)
treecc20d2f4433480c6ed470c945d26b20a3295cdc4 /japanese
parent2450389419cead57d5291a0ced72deef3e1f3a67 (diff)
downloadports-4658d003e987a1cd771ee1e3b4027c2e880c784d.tar.gz
ports-4658d003e987a1cd771ee1e3b4027c2e880c784d.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kiten-kde4/files/patch-lib_dictquery.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/kiten-kde4/files/patch-lib_dictquery.cpp b/japanese/kiten-kde4/files/patch-lib_dictquery.cpp
new file mode 100644
index 000000000000..17beb5a35660
--- /dev/null
+++ b/japanese/kiten-kde4/files/patch-lib_dictquery.cpp
@@ -0,0 +1,13 @@
+contains() returns a bool, clang7 complains
+
+--- lib/dictquery.cpp.orig 2018-08-27 21:16:58 UTC
++++ lib/dictquery.cpp
+@@ -459,7 +459,7 @@ QString DictQuery::operator[] ( const QS
+
+ bool DictQuery::hasProperty( const QString &key ) const
+ {
+- return d->entryOrder.contains( key ) > 0;
++ return d->entryOrder.contains( key );
+ }
+
+ //TODO: Add i18n handling and alternate versions of property names