genode/repos/libports/src/lib/python/posixmodule.patch

22 lines
708 B
Diff

+++ src/lib/python/Modules/posixmodule.c
@@ -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