[131234] trunk/dports/perl/p5-macosx-file

larryv at macports.org larryv at macports.org
Tue Jan 6 16:53:23 PST 2015


Revision: 131234
          https://trac.macports.org/changeset/131234
Author:   larryv at macports.org
Date:     2015-01-06 16:53:23 -0800 (Tue, 06 Jan 2015)
Log Message:
-----------
p5-macosx-file: Rename patch from r130542... again

I'll be using this name shortly for similar-but-not-identical changes in
other Perl module ports.

Revision Links:
--------------
    https://trac.macports.org/changeset/130542

Modified Paths:
--------------
    trunk/dports/perl/p5-macosx-file/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-macosx-file/files/avoid-FlatCarbon-headers.patch

Removed Paths:
-------------
    trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch

Modified: trunk/dports/perl/p5-macosx-file/Portfile
===================================================================
--- trunk/dports/perl/p5-macosx-file/Portfile	2015-01-06 23:36:49 UTC (rev 131233)
+++ trunk/dports/perl/p5-macosx-file/Portfile	2015-01-07 00:53:23 UTC (rev 131234)
@@ -26,7 +26,7 @@
 supported_archs     i386 ppc
 patchfiles          use-FSPathCopyObjectSync.patch \
                     fix-Copy-tiger.patch \
-                    use-CoreServices-header.patch
+                    avoid-FlatCarbon-headers.patch
 post-patch {
     reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL
 }

Copied: trunk/dports/perl/p5-macosx-file/files/avoid-FlatCarbon-headers.patch (from rev 131233, trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch)
===================================================================
--- trunk/dports/perl/p5-macosx-file/files/avoid-FlatCarbon-headers.patch	                        (rev 0)
+++ trunk/dports/perl/p5-macosx-file/files/avoid-FlatCarbon-headers.patch	2015-01-07 00:53:23 UTC (rev 131234)
@@ -0,0 +1,78 @@
+Index: Copy/filecopy.c
+===================================================================
+--- Copy/filecopy.c.orig
++++ Copy/filecopy.c
+@@ -3,7 +3,7 @@
+  */
+ 
+ #undef I_POLL
+-#include <Files.h>
++#include <CoreServices/CoreServices.h>
+ #include "common/util.c"
+ 
+ #ifndef kPOSIXErrorBase
+Index: common/util.c
+===================================================================
+--- common/util.c.orig
++++ common/util.c
+@@ -7,7 +7,7 @@
+ 
+ #include <sys/param.h>
+ #undef I_POLL
+-#include <Files.h>
++#include <CoreServices/CoreServices.h>
+ 
+ #ifdef _INC_PERL_XSUB_H
+ static int
+Index: common/macdate.c
+===================================================================
+--- common/macdate.c.orig
++++ common/macdate.c
+@@ -2,7 +2,7 @@
+  * $Id: macdate.c,v 0.70 2005/08/09 15:47:00 dankogai Exp $
+  */
+ 
+-#include <DateTimeUtils.h>
++#include <CoreServices/CoreServices.h>
+ # include <math.h>
+ 
+ #define EPOCH_DELTA 2082844800
+Index: Catalog/Catalog.xs
+===================================================================
+--- Catalog/Catalog.xs.orig
++++ Catalog/Catalog.xs
+@@ -15,7 +15,7 @@ not_here(char *s)
+ 
+ #include "common/util.c"
+ #include "common/macdate.c"
+-#include <Finder.h>
++#include <CoreServices/CoreServices.h>
+ 
+ static SV *
+ xs_getcatalog(char *path){
+Index: Info/Info.xs
+===================================================================
+--- Info/Info.xs.orig
++++ Info/Info.xs
+@@ -15,7 +15,7 @@ not_here(char *s)
+ 
+ #include "common/util.c"
+ #include "common/macdate.c"
+-#include <Finder.h>
++#include <CoreServices/CoreServices.h>
+ 
+ /* #define CATALOGINFONEEDED kFSCatInfoGettableInfo */
+ #define CATALOGINFONEEDED (kFSCatInfoNodeFlags|kFSCatInfoCreateDate|kFSCatInfoContentMod|kFSCatInfoFinderInfo)
+Index: Spec/Spec.xs
+===================================================================
+--- Spec/Spec.xs.orig
++++ Spec/Spec.xs
+@@ -10,7 +10,7 @@ not_here(char *s)
+ }
+ 
+ #undef I_POLL
+-#include <Finder.h>
++#include <CoreServices/CoreServices.h>
+ #include "common/util.c"
+ 
+ #define ClassName "MacOSX::File::Spec"

Deleted: trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch
===================================================================
--- trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch	2015-01-06 23:36:49 UTC (rev 131233)
+++ trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch	2015-01-07 00:53:23 UTC (rev 131234)
@@ -1,78 +0,0 @@
-Index: Copy/filecopy.c
-===================================================================
---- Copy/filecopy.c.orig
-+++ Copy/filecopy.c
-@@ -3,7 +3,7 @@
-  */
- 
- #undef I_POLL
--#include <Files.h>
-+#include <CoreServices/CoreServices.h>
- #include "common/util.c"
- 
- #ifndef kPOSIXErrorBase
-Index: common/util.c
-===================================================================
---- common/util.c.orig
-+++ common/util.c
-@@ -7,7 +7,7 @@
- 
- #include <sys/param.h>
- #undef I_POLL
--#include <Files.h>
-+#include <CoreServices/CoreServices.h>
- 
- #ifdef _INC_PERL_XSUB_H
- static int
-Index: common/macdate.c
-===================================================================
---- common/macdate.c.orig
-+++ common/macdate.c
-@@ -2,7 +2,7 @@
-  * $Id: macdate.c,v 0.70 2005/08/09 15:47:00 dankogai Exp $
-  */
- 
--#include <DateTimeUtils.h>
-+#include <CoreServices/CoreServices.h>
- # include <math.h>
- 
- #define EPOCH_DELTA 2082844800
-Index: Catalog/Catalog.xs
-===================================================================
---- Catalog/Catalog.xs.orig
-+++ Catalog/Catalog.xs
-@@ -15,7 +15,7 @@ not_here(char *s)
- 
- #include "common/util.c"
- #include "common/macdate.c"
--#include <Finder.h>
-+#include <CoreServices/CoreServices.h>
- 
- static SV *
- xs_getcatalog(char *path){
-Index: Info/Info.xs
-===================================================================
---- Info/Info.xs.orig
-+++ Info/Info.xs
-@@ -15,7 +15,7 @@ not_here(char *s)
- 
- #include "common/util.c"
- #include "common/macdate.c"
--#include <Finder.h>
-+#include <CoreServices/CoreServices.h>
- 
- /* #define CATALOGINFONEEDED kFSCatInfoGettableInfo */
- #define CATALOGINFONEEDED (kFSCatInfoNodeFlags|kFSCatInfoCreateDate|kFSCatInfoContentMod|kFSCatInfoFinderInfo)
-Index: Spec/Spec.xs
-===================================================================
---- Spec/Spec.xs.orig
-+++ Spec/Spec.xs
-@@ -10,7 +10,7 @@ not_here(char *s)
- }
- 
- #undef I_POLL
--#include <Finder.h>
-+#include <CoreServices/CoreServices.h>
- #include "common/util.c"
- 
- #define ClassName "MacOSX::File::Spec"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150106/3b1e7715/attachment-0001.html>


More information about the macports-changes mailing list