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
This commit is contained in:
Jan Beich 2017-02-01 12:29:24 +00:00
parent 3cfd68a5ba
commit 355afd6af9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433018

View file

@ -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;