Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434568 Details for
Bug 583350
kde-frameworks/ki18n: fails to build with gcc-6 error: 'translation_found' was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix ki18n with gcc6
translation_found.patch (text/plain), 860 bytes, created by
Mike Lothian
on 2016-05-17 22:55:52 UTC
(
hide
)
Description:
Patch to fix ki18n with gcc6
Filename:
MIME Type:
Creator:
Mike Lothian
Created:
2016-05-17 22:55:52 UTC
Size:
860 bytes
patch
obsolete
>--- src/gettext.h.ori 2016-05-16 00:54:07.142331153 +0200 >+++ src/gettext.h 2016-05-16 00:54:41.138034910 +0200 >@@ -163,7 +163,6 @@ > #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS > char msg_ctxt_id[msgctxt_len + msgid_len]; > #else >- int translation_found; > char buf[1024]; > char *msg_ctxt_id = > (msgctxt_len + msgid_len <= sizeof(buf) >@@ -177,7 +176,7 @@ > memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); > translation = dngettext(domain, msg_ctxt_id, msgid_plural, n); > /* Test must occur before msg_ctxt_id freed */ >- translation_found = !(translation == msg_ctxt_id || translation == msgid_plural); >+ int translation_found = !(translation == msg_ctxt_id || translation == msgid_plural); > #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS > if (msg_ctxt_id != buf) { > free(msg_ctxt_id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 583350
:
434568