summaryrefslogtreecommitdiff
path: root/graphics/gnustep-slideshow/files/patch-Controller.m
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-08-28 18:26:01 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-08-28 18:26:01 +0000
commit3bec8741ffe1e70c5dbabd1ee86bfdf05f1c3e99 (patch)
treeab5064afd823ae17563635026226e53774a6614d /graphics/gnustep-slideshow/files/patch-Controller.m
parentUpdate devel/monodevelop to 4.0.12 and unbreak build. (diff)
Update to latest GNUstep core libraries.
Update dependent packages with more recent releases. Remove old and bit-rotted ones. Switch to using clang 3.3 and libobjc2 1.7 by default, so modern Objective-C features work out of the box and remove a lot of configurable options for sub-optimal (and, often, unsupported / deprecated upstream) configurations. Take maintainership of GNUstep-related ports. Several of the ports left in have scary warnings which mean that they are likely broken in lots of cases. Future commits will fix them. Approved by: bapt
Notes
Notes: svn path=/head/; revision=325546
Diffstat (limited to 'graphics/gnustep-slideshow/files/patch-Controller.m')
-rw-r--r--graphics/gnustep-slideshow/files/patch-Controller.m41
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/gnustep-slideshow/files/patch-Controller.m b/graphics/gnustep-slideshow/files/patch-Controller.m
new file mode 100644
index 000000000000..5bb9d7359b90
--- /dev/null
+++ b/graphics/gnustep-slideshow/files/patch-Controller.m
@@ -0,0 +1,41 @@
+--- Controller.m.orig 2013-08-20 15:46:28.000000000 +0000
++++ Controller.m 2013-08-20 15:46:48.000000000 +0000
+@@ -1021,32 +1021,32 @@
+ {
+ SEL action = [menuItem action];
+
+- if ( sel_eq(action,@selector(removeImages:)) )
++ if ( sel_isEqual(action,@selector(removeImages:)) )
+ {
+ if (( [_backend count] == 0 ) || ( ! [browser selectedCells] ) )
+ return NO;
+ }
+- if ( sel_eq(action,@selector(showNextImage:)) )
++ if ( sel_isEqual(action,@selector(showNextImage:)) )
+ {
+ if ( ( ( _current + 1 ) == [_backend count] ) || ( [_backend count] == 0 ) )
+ return NO;
+ }
+- else if ( sel_eq(action,@selector(showPreviousImage:)) )
++ else if ( sel_isEqual(action,@selector(showPreviousImage:)) )
+ {
+ if ( [_backend count] == 0 )
+ return NO;
+ }
+- else if ( sel_eq(action,@selector(fullscreenAction:)) )
++ else if ( sel_isEqual(action,@selector(fullscreenAction:)) )
+ {
+ if ( [_backend count] == 0 )
+ return NO;
+ }
+- else if ( sel_eq(action,@selector(addMarkAction:)) )
++ else if ( sel_isEqual(action,@selector(addMarkAction:)) )
+ {
+ if ( ( [self showState] == ShowOnlyMarked ) || ([_backend count] == 0 ) )
+ return NO;
+ }
+- else if ( sel_eq(action,@selector(showMarkAction:)) )
++ else if ( sel_isEqual(action,@selector(showMarkAction:)) )
+ {
+ if ( [_backend count] == 0 )
+ return NO;