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:
parent
3cfd68a5ba
commit
355afd6af9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433018
1 changed files with 11 additions and 0 deletions
11
devel/guikachu/files/patch-src_bitmapfamily-res-ops.cc
Normal file
11
devel/guikachu/files/patch-src_bitmapfamily-res-ops.cc
Normal 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;
|
Loading…
Reference in a new issue