From 3bec8741ffe1e70c5dbabd1ee86bfdf05f1c3e99 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 28 Aug 2013 18:26:01 +0000 Subject: 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 --- .../gnustep-slideshow/files/patch-Controller.m | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 graphics/gnustep-slideshow/files/patch-Controller.m (limited to 'graphics/gnustep-slideshow/files/patch-Controller.m') 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; -- cgit v1.2.3