freebsd-ports/security/fakeroot/files/patch-communicate.h
Pav Lucistnik 99606f0b7a Fakeroot runs a command in an environment were it appears to have
root privileges for file manipulation, by setting LD_PRELOAD to a
library with alternative versions of getuid(), stat(), etc.

PR:		ports/64102
Submitted by:	Meno Abels <meno.abels@adviser.com>
2004-05-27 22:21:34 +00:00

12 lines
401 B
C

--- communicate.h Fri Sep 26 04:07:11 2003
+++ communicate.h Thu Mar 11 12:51:34 2004
@@ -38,7 +38,9 @@
#if defined(sun) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
#define STAT64_SUPPORT
#else
+#if !defined(__FreeBSD__)
#warning Not using stat64 support
+#endif
/* if glibc is 2.0 or older, undefine these again */
#undef STAT64_SUPPORT
#undef _LARGEFILE64_SOURCE