genode/repos/libports/src/lib/python/posixmodule.patch
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

24 lines
866 B
Diff

diff -r 4395e7e35ad9 Modules/posixmodule.c
--- contrib/python-2.6.4/Modules/posixmodule.c Tue Jan 26 17:04:11 2010 +0100
+++ contrib/python-2.6.4/Modules/posixmodule.c Wed Feb 17 18:30:10 2010 +0100
@@ -135,16 +135,16 @@
/* Everything needed is defined in PC/os2emx/pyconfig.h or vms/pyconfig.h */
#else /* all other compilers */
/* Unix functions that the configure script doesn't check for */
-#define HAVE_EXECV 1
+//#define HAVE_EXECV 1
#define HAVE_FORK 1
#if defined(__USLC__) && defined(__SCO_VERSION__) /* SCO UDK Compiler */
#define HAVE_FORK1 1
#endif
#define HAVE_GETCWD 1
-#define HAVE_GETEGID 1
+//#define HAVE_GETEGID 0
#define HAVE_GETEUID 1
#define HAVE_GETGID 1
-#define HAVE_GETPPID 1
+//#define HAVE_GETPPID 1
#define HAVE_GETUID 1
#define HAVE_KILL 1
#define HAVE_OPENDIR 1