* [gentoo-commits] gentoo-x86 commit in gnustep-apps/textedit/files: textedit-0.95_pre20100427-gcc47.patch
@ 2012-08-29 10:59 99% Bernard Cafarelli (voyageur)
0 siblings, 0 replies; 1+ results
From: Bernard Cafarelli (voyageur) @ 2012-08-29 10:59 UTC (permalink / raw
To: gentoo-commits
voyageur 12/08/29 10:59:23
Added: textedit-0.95_pre20100427-gcc47.patch
Log:
Fix compilation with gcc-4.7, bug #427374
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Revision Changes Path
1.1 gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch?rev=1.1&content-type=text/plain
Index: textedit-0.95_pre20100427-gcc47.patch
===================================================================
--- textedit.app-4.0+20061029.orig/Document.m
+++ textedit.app-4.0+20061029/Document.m
@@ -1361,13 +1361,13 @@ validateToggleItem (NSMenuItem *aCell, B
{
SEL action = [aCell action];
#ifdef GNUSTEP
- const char *sel_name = sel_get_name (action);
+ const char *sel_name = sel_getName (action);
- if (!strcmp (sel_name, sel_get_name (@selector (toggleRich:)))) {
+ if (!strcmp (sel_name, sel_getName (@selector (toggleRich:)))) {
validateToggleItem (aCell, [self isRichText], _(@"&Make Plain Text"), _(@"&Make Rich Text"));
- } else if (!strcmp (sel_name, sel_get_name (@selector (togglePageBreaks:)))) {
+ } else if (!strcmp (sel_name, sel_getName (@selector (togglePageBreaks:)))) {
validateToggleItem (aCell, [self hasMultiplePages], _(@"&Wrap to Window"), _(@"&Wrap to Page"));
- } else if (!strcmp (sel_name, sel_get_name (@selector (toggleHyphenation:)))) {
+ } else if (!strcmp (sel_name, sel_getName (@selector (toggleHyphenation:)))) {
if (!hyphenationSupported()) // Disable it
return NO;
validateToggleItem (aCell, ([self hyphenationFactor] > 0.0), _(@"Disallow &Hyphenation"), _(@"Allow &Hyphenation"));
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-08-29 10:59 99% [gentoo-commits] gentoo-x86 commit in gnustep-apps/textedit/files: textedit-0.95_pre20100427-gcc47.patch Bernard Cafarelli (voyageur)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox