  
  
  # SGI IRIX specific modules -- off by default.
+diff -ruN Python-2.7.3/Modules/_testcapimodule.c Python-2.7.3-new/Modules/_testcapimodule.c
+--- Python-2.7.3/Modules/_testcapimodule.c	2012-04-09 17:07:33.000000000 -0600
++++ Python-2.7.3-new/Modules/_testcapimodule.c	2014-11-14 06:58:02.136341782 -0700
+@@ -8,7 +8,13 @@
+ #include "Python.h"
+ #include <float.h>
+ #include "structmember.h"
++#ifdef Py_BUILD_CORE
++#undef Py_BUILD_CORE
+ #include "datetime.h"
++#define Py_BUILD_CORE
++#else
++#include "datetime.h"
++#endif
+ 
+ #ifdef WITH_THREAD
+ #include "pythread.h"

 #_functools _functoolsmodule.c	# Tools for working with functions and callable objects
 #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c	# elementtree accelerator
 #_pickle _pickle.c	# pickle accelerator
@@ -248,14 +248,14 @@
 # Message-Digest Algorithm, described in RFC 1321.  The necessary files
 # md5.c and md5.h are included here.
 

diff -ruN Python-2.7.3/Modules/Setup.dist Python-2.7.3-new/Modules/Setup.dist
--- Python-2.7.3/Modules/Setup.dist	2012-04-09 17:07:33.000000000 -0600
+++ Python-2.7.3-new/Modules/Setup.dist	2014-11-14 06:57:27.744103397 -0700
@@ -153,7 +153,7 @@
 # modules are to be built as shared libraries (see above for more
 # detail; also note that *static* reverses this effect):
