/[gentoo-alt]/trunk/prefix/app-arch/bzip2/files/bzip2-1.0.3-darwin-ea.patch
Gentoo

Contents of /trunk/prefix/app-arch/bzip2/files/bzip2-1.0.3-darwin-ea.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 920 - (show annotations) (download)
Tue Dec 13 20:55:14 2005 UTC (9 years, 1 month ago) by kito
File size: 490 byte(s)
drop -overlay
1 --- bzip2.c 2005-02-15 10:25:35.000000000 -0600
2 +++ bzip2.c-new 2005-10-12 21:19:21.000000000 -0500
3 @@ -133,6 +133,9 @@
4 #define BZ_UNIX 0
5 #endif
6
7 +#ifdef __APPLE__
8 +#include <copyfile.h>
9 +#endif
10
11 /*---------------------------------------------*/
12 /*--
13 @@ -1148,6 +1151,11 @@
14 /* chown() will in many cases return with EPERM, which can
15 be safely ignored.
16 */
17 +
18 + #if __APPLE__
19 + copyfile(inName, outName, 0, COPYFILE_ACL | COPYFILE_XATTR);
20 + #endif
21 +
22 # endif
23 }
24

  ViewVC Help
Powered by ViewVC 1.1.20