diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-02-01 20:29:24 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-02-01 20:29:24 +0800 |
commit | f3d141db5f37a7b9a2604ca4f2214e4ac0df5a57 (patch) | |
tree | 000e0e02553600094c6c163b319c815899233b32 | |
parent | 3b9df9faf90895ee579353ea0624e5b1edb66a07 (diff) | |
download | freebsd-ports-gnome-f3d141db5f37a7b9a2604ca4f2214e4ac0df5a57.tar.gz freebsd-ports-gnome-f3d141db5f37a7b9a2604ca4f2214e4ac0df5a57.tar.zst freebsd-ports-gnome-f3d141db5f37a7b9a2604ca4f2214e4ac0df5a57.zip |
devel/guikachu: unbreak with libc++ 3.9
bitmapfamily-res-ops.cc:33:20: error: assigning to 'char *' from incompatible type 'const char *'
msgval = strrchr (msgid, '|') + 1;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
-rw-r--r-- | devel/guikachu/files/patch-src_bitmapfamily-res-ops.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/guikachu/files/patch-src_bitmapfamily-res-ops.cc b/devel/guikachu/files/patch-src_bitmapfamily-res-ops.cc new file mode 100644 index 000000000000..7e3a048e70b9 --- /dev/null +++ b/devel/guikachu/files/patch-src_bitmapfamily-res-ops.cc @@ -0,0 +1,11 @@ +--- src/bitmapfamily-res-ops.cc.orig 2006-10-06 22:35:39 UTC ++++ src/bitmapfamily-res-ops.cc +@@ -28,7 +28,7 @@ using namespace Guikachu::ResourceOps::B + namespace { + Glib::ustring translate_tagged_string (const char *msgid) + { +- char *msgval = gettext (msgid); ++ const char *msgval = gettext (msgid); + if (msgval == msgid) + msgval = strrchr (msgid, '|') + 1; + return msgval; |