[Midnightbsd-cvs] mports [21266] trunk/graphics/preview: fix compilation

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Mar 25 22:17:48 EDT 2016


Revision: 21266
          http://svnweb.midnightbsd.org/mports/?rev=21266
Author:   laffer1
Date:     2016-03-25 22:17:47 -0400 (Fri, 25 Mar 2016)
Log Message:
-----------
fix compilation

Modified Paths:
--------------
    trunk/graphics/preview/Makefile

Added Paths:
-----------
    trunk/graphics/preview/files/
    trunk/graphics/preview/files/patch-Document.m

Modified: trunk/graphics/preview/Makefile
===================================================================
--- trunk/graphics/preview/Makefile	2016-03-26 02:16:39 UTC (rev 21265)
+++ trunk/graphics/preview/Makefile	2016-03-26 02:17:47 UTC (rev 21266)
@@ -2,7 +2,7 @@
 
 PORTNAME=	preview
 PORTVERSION=	0.8.5
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics gnustep
 MASTER_SITES=	http://download.gna.org/gsimageapps/
 PKGNAMEPREFIX=	gnustep-

Added: trunk/graphics/preview/files/patch-Document.m
===================================================================
--- trunk/graphics/preview/files/patch-Document.m	                        (rev 0)
+++ trunk/graphics/preview/files/patch-Document.m	2016-03-26 02:17:47 UTC (rev 21266)
@@ -0,0 +1,19 @@
+--- Document.m.orig	2005-06-28 10:25:25.000000000 +0200
++++ Document.m	2012-06-09 11:09:51.000000000 +0200
+@@ -35,6 +35,7 @@
+ 
+ #include <Foundation/NSNotification.h>
+ 
++#include <AppKit/AppKit.h>
+ #include <AppKit/NSApplication.h>
+ #include <AppKit/NSAffineTransform.h>
+ #include <AppKit/NSClipView.h>
+@@ -592,7 +592,7 @@
+ {
+   SEL action = [menuItem action];
+ 
+-  if ( sel_eq(action, at selector(resize:)) )
++  if ( sel_isEqual(action, at selector(resize:)) )
+     {
+       if ( [menuItem tag] == [self _currentItem] ) 
+        return NO;


Property changes on: trunk/graphics/preview/files/patch-Document.m
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list