Revision: 130543 https://trac.macports.org/changeset/130543 Author: larryv@macports.org Date: 2014-12-31 13:26:01 -0800 (Wed, 31 Dec 2014) Log Message: ----------- p5-macosx-file: Rename patch from r130542 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/use-CoreServices-header.patch Removed Paths: ------------- trunk/dports/perl/p5-macosx-file/files/use-correct-headers.patch Modified: trunk/dports/perl/p5-macosx-file/Portfile =================================================================== --- trunk/dports/perl/p5-macosx-file/Portfile 2014-12-31 21:16:51 UTC (rev 130542) +++ trunk/dports/perl/p5-macosx-file/Portfile 2014-12-31 21:26:01 UTC (rev 130543) @@ -26,7 +26,7 @@ supported_archs i386 ppc patchfiles use-FSPathCopyObjectSync.patch \ fix-Copy-tiger.patch \ - use-correct-headers.patch + use-CoreServices-header.patch post-patch { reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL } Copied: trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch (from rev 130542, trunk/dports/perl/p5-macosx-file/files/use-correct-headers.patch) =================================================================== --- trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch (rev 0) +++ trunk/dports/perl/p5-macosx-file/files/use-CoreServices-header.patch 2014-12-31 21:26:01 UTC (rev 130543) @@ -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-correct-headers.patch =================================================================== --- trunk/dports/perl/p5-macosx-file/files/use-correct-headers.patch 2014-12-31 21:16:51 UTC (rev 130542) +++ trunk/dports/perl/p5-macosx-file/files/use-correct-headers.patch 2014-12-31 21:26:01 UTC (rev 130543) @@ -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"
participants (1)
-
larryv@macports.org