Ignore:
Timestamp:
Apr 6, 2009, 4:59:41 PM (11 years ago)
Author:
ricci@…
Message:

import p5-macosx-file's Copy/filecopy.c patch to build on Tiger, resolves #19130

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-macosx-file/files/patch-Copy-filecopy.c.diff

    r48869 r49288  
    11--- Copy/filecopy.c.orig        2005-08-18 23:12:28.000000000 -0700
    2 +++ Copy/filecopy.c     2009-03-25 17:30:15.000000000 -0700
    3 @@ -166,46 +167,46 @@
     2+++ Copy/filecopy.c     2009-04-03 18:02:48.000000000 -0700
     3@@ -3,9 +3,18 @@
     4  */
     5 
     6 #undef I_POLL
     7+// #include <libgen.h>
     8 #include <Files.h>
     9 #include "common/util.c"
     10 
     11+#ifndef        kPOSIXErrorBase
     12+# define       kPOSIXErrorBase 100000L
     13+#endif /* kPOSIXErrorBase */
     14+
     15+#ifndef        kPOSIXErrorERANGE
     16+# define       kPOSIXErrorERANGE 100034L
     17+#endif /* kPOSIXErrorERANGE */
     18+
     19 #ifdef _INC_PERL_XSUB_H
     20 static int
     21 setcopyerr(int err, char *filename, int line)
     22@@ -166,46 +175,46 @@
    423 
    524 #define min(x, y) ((x) < y) ? (x) : (y)
Note: See TracChangeset for help on using the changeset viewer.