Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-platform.c,v 1.2 2013/05/01 19:58:26 imil Exp $
Interix support
--- platform.c.orig 2013-03-12 00:31:05.000000000 +0000
+++ platform.c
@@ -81,7 +81,9 @@ platform_privileged_uidswap(void)
/* uid 0 is not special on Cygwin so always try */
return 1;
#else
+#if !defined(HAVE_INTERIX)
return (getuid() == 0 || geteuid() == 0);
+#endif /* !HAVE_INTERIX */
#endif
}