From b5ff428912af72e230f88125198415268a28f2ea Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 21 Jul 2005 09:20:08 +0000 Subject: patch-an was removed from distinfo during 2.4.1 update, remove file too. --- lang/python24/patches/patch-an | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 lang/python24/patches/patch-an (limited to 'lang/python24') 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 - #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 - #elif defined(HAVE_STAT_H) - #include - #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) -- cgit v1.2.3