[33737] trunk/dports/gnustep/gnustep-gui

ryandesign at macports.org ryandesign at macports.org
Mon Feb 4 04:42:37 PST 2008


Revision: 33737
          http://trac.macosforge.org/projects/macports/changeset/33737
Author:   ryandesign at macports.org
Date:     2008-02-04 04:41:03 -0800 (Mon, 04 Feb 2008)

Log Message:
-----------
gnustep-gui: consolidate two patchfiles for one issue into a single patchfile and fix name of patchfile to match recommendations

Modified Paths:
--------------
    trunk/dports/gnustep/gnustep-gui/Portfile

Added Paths:
-----------
    trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.diff

Removed Paths:
-------------
    trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.h
    trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.m

Modified: trunk/dports/gnustep/gnustep-gui/Portfile
===================================================================
--- trunk/dports/gnustep/gnustep-gui/Portfile	2008-02-04 12:09:17 UTC (rev 33736)
+++ trunk/dports/gnustep/gnustep-gui/Portfile	2008-02-04 12:41:03 UTC (rev 33737)
@@ -36,7 +36,7 @@
 
 platform darwin {
     # fix for étoilé
-    patchfiles-append       patch-GSToolbar.h patch-GSToolbar.m
+    patchfiles-append       patch-GSToolbar.diff
     # no audio support
     depends_lib-delete      port:audiofile
     configure.args-append   --disable-gsnd

Copied: trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.diff (from rev 33709, trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.m)
===================================================================
--- trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.diff	                        (rev 0)
+++ trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.diff	2008-02-04 12:41:03 UTC (rev 33737)
@@ -0,0 +1,25 @@
+--- Headers/Additions/GNUstepGUI/GSToolbar.h.orig	2006-07-30 13:51:20.000000000 -0400
++++ Headers/Additions/GNUstepGUI/GSToolbar.h	2006-07-30 13:53:38.000000000 -0400
+@@ -145,6 +145,7 @@
+ 
+ @interface NSArray (ObjectsWithValueForKey)
+ - (NSArray *) objectsWithValue: (id)value forKey: (NSString *)key;
++- (id) objectWithValue: (id)value forKey: (NSString *)key;
+ @end
+ 
+ #endif /* _GNUstep_H_NSToolbar */
+--- Source/GSToolbar.m.orig	2006-07-30 13:54:57.000000000 -0400
++++ Source/GSToolbar.m	2006-07-30 13:56:52.000000000 -0400
+@@ -88,6 +88,12 @@
+   
+   return result;
+ }
++
++- (id) objectWithValue: (id)value forKey: (NSString *)key
++{
++    return [[self objectsWithValue: value forKey: key] objectAtIndex: 0];
++}
++
+ @end
+ 
+ /* 

Deleted: trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.h
===================================================================
--- trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.h	2008-02-04 12:09:17 UTC (rev 33736)
+++ trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.h	2008-02-04 12:41:03 UTC (rev 33737)
@@ -1,10 +0,0 @@
---- Headers/Additions/GNUstepGUI/GSToolbar.h.orig	2006-07-30 13:51:20.000000000 -0400
-+++ Headers/Additions/GNUstepGUI/GSToolbar.h	2006-07-30 13:53:38.000000000 -0400
-@@ -145,6 +145,7 @@
- 
- @interface NSArray (ObjectsWithValueForKey)
- - (NSArray *) objectsWithValue: (id)value forKey: (NSString *)key;
-+- (id) objectWithValue: (id)value forKey: (NSString *)key;
- @end
- 
- #endif /* _GNUstep_H_NSToolbar */

Deleted: trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.m
===================================================================
--- trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.m	2008-02-04 12:09:17 UTC (rev 33736)
+++ trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.m	2008-02-04 12:41:03 UTC (rev 33737)
@@ -1,15 +0,0 @@
---- Source/GSToolbar.m.orig	2006-07-30 13:54:57.000000000 -0400
-+++ Source/GSToolbar.m	2006-07-30 13:56:52.000000000 -0400
-@@ -88,6 +88,12 @@
-   
-   return result;
- }
-+
-+- (id) objectWithValue: (id)value forKey: (NSString *)key
-+{
-+    return [[self objectsWithValue: value forKey: key] objectAtIndex: 0];
-+}
-+
- @end
- 
- /* 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080204/894e8ea6/attachment.html


More information about the macports-changes mailing list