diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-09-16 16:22:35 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-09-16 16:22:35 +0000 |
| commit | 67be86628796a35cdef5b5b543b5e4661f7a416c (patch) | |
| tree | fcef3a8452bc72f27ffbae35d5b6d824e93c477a /packaging/macosx/ports/lang/python25/files/patch-Misc-setuid-prog.c.diff | |
| parent | update to trunk (r13556) (diff) | |
| download | inkscape-67be86628796a35cdef5b5b543b5e4661f7a416c.tar.gz inkscape-67be86628796a35cdef5b5b543b5e4661f7a416c.zip | |
ports: maintain current ports for python25 and py25-* modules for packaging locally (support will likely be removed in upstream MacPorts)
(bzr r13506.1.98)
Diffstat (limited to 'packaging/macosx/ports/lang/python25/files/patch-Misc-setuid-prog.c.diff')
| -rw-r--r-- | packaging/macosx/ports/lang/python25/files/patch-Misc-setuid-prog.c.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/macosx/ports/lang/python25/files/patch-Misc-setuid-prog.c.diff b/packaging/macosx/ports/lang/python25/files/patch-Misc-setuid-prog.c.diff new file mode 100644 index 000000000..0fee9e791 --- /dev/null +++ b/packaging/macosx/ports/lang/python25/files/patch-Misc-setuid-prog.c.diff @@ -0,0 +1,16 @@ +--- Misc/setuid-prog.c.orig Sat Dec 11 14:29:22 2004 ++++ Misc/setuid-prog.c Sat Dec 11 14:30:13 2004 +@@ -70,6 +70,12 @@ + #define environ _environ + #endif + ++#if defined(__APPLE__) ++#include <sys/time.h> ++#include <crt_externs.h> ++#define environ (*_NSGetEnviron()) ++#endif ++ + /* don't change def_IFS */ + char def_IFS[] = "IFS= \t\n"; + /* you may want to change def_PATH, but you should really change it in */ + |
