diff --git a/patches/3.13/03-cosmo-sys-random.patch b/patches/3.13/02-cosmo-sys-random.patch similarity index 100% rename from patches/3.13/03-cosmo-sys-random.patch rename to patches/3.13/02-cosmo-sys-random.patch diff --git a/patches/3.13/02-freebsd-errno.patch b/patches/3.13/02-freebsd-errno.patch deleted file mode 100644 index 040cd69..0000000 --- a/patches/3.13/02-freebsd-errno.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/Include/Python.h b/Include/Python.h -index fb2d32d7110..4b8bf901bdf 100644 ---- a/Include/Python.h -+++ b/Include/Python.h -@@ -33,7 +33,15 @@ - // The and headers are not included by limited C API - // version 3.13 and newer. - #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 -+# if defined(__FreeBSD__) && defined(_POSIX_SOURCE) -+# define _WANT_POSIX_SOURCE -+# undef _POSIX_SOURCE -+# endif - # include // errno -+# if defined(_WANT_POSIX_SOURCE) -+# define _POSIX_SOURCE -+# undef _WANT_POSIX_SOURCE -+# endif - # include // FILE* - # include // getenv() - # include // memcpy() diff --git a/patches/3.13/04-getpath_noop-missing-stub.patch b/patches/3.13/03-getpath_noop-missing-stub.patch similarity index 100% rename from patches/3.13/04-getpath_noop-missing-stub.patch rename to patches/3.13/03-getpath_noop-missing-stub.patch diff --git a/patches/3.13/05-solaris-fcntlmodule.patch b/patches/3.13/04-solaris-fcntlmodule.patch similarity index 100% rename from patches/3.13/05-solaris-fcntlmodule.patch rename to patches/3.13/04-solaris-fcntlmodule.patch diff --git a/patches/3.13/06-relative-getpath-h.patch b/patches/3.13/05-relative-getpath-h.patch similarity index 100% rename from patches/3.13/06-relative-getpath-h.patch rename to patches/3.13/05-relative-getpath-h.patch diff --git a/patches/3.13/07-testcapimodule-gettimeofday.patch b/patches/3.13/06-testcapimodule-gettimeofday.patch similarity index 100% rename from patches/3.13/07-testcapimodule-gettimeofday.patch rename to patches/3.13/06-testcapimodule-gettimeofday.patch