diff options
author | wiz <wiz@pkgsrc.org> | 2005-07-21 09:20:08 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-07-21 09:20:08 +0000 |
commit | b5ff428912af72e230f88125198415268a28f2ea (patch) | |
tree | 9b2c210606722bede272336fd064f0282934c8b1 /lang/python24/patches | |
parent | 77e6ed9fa89dadf01fafef526ad51308fecdd2af (diff) | |
download | pkgsrc-b5ff428912af72e230f88125198415268a28f2ea.tar.gz |
patch-an was removed from distinfo during 2.4.1 update, remove file too.
Diffstat (limited to 'lang/python24/patches')
-rw-r--r-- | lang/python24/patches/patch-an | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lang/python24/patches/patch-an b/lang/python24/patches/patch-an deleted file mode 100644 index d0e78c02e72..00000000000 --- a/lang/python24/patches/patch-an +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-an,v 1.3 2005/07/03 19:48:22 recht Exp $ - ---- Include/pyport.h.orig 2004-09-23 21:11:21.000000000 +0200 -+++ Include/pyport.h 2005-07-03 20:02:08.000000000 +0200 -@@ -152,11 +152,23 @@ - #if defined(PYOS_OS2) && defined(PYCC_GCC) - #include <sys/types.h> - #endif -+ -+#if (defined __APPLE__) && (!defined _POSIX_C_SOURCE) -+#define TEMPORARILY_DEFINING__POSIX_C_SOURCE /* so we can #undef it later */ -+#define _POSIX_C_SOURCE /* avoid deprecated struct ostat in sys/stat.h */ -+#endif -+ - #include <sys/stat.h> - #elif defined(HAVE_STAT_H) - #include <stat.h> - #endif - -+/* Mac OS X: undefine _POSIX_C_SOURCE if it wasn't defined before */ -+#ifdef TEMPORARILY_DEFINING__POSIX_C_SOURCE -+#undef _POSIX_C_SOURCE -+#undef TEMPORARILY_DEFINING__POSIX_C_SOURCE -+#endif -+ - #if defined(PYCC_VACPP) - /* VisualAge C/C++ Failed to Define MountType Field in sys/stat.h */ - #define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG) |