--- a/components/python/python27/patches/07-dlpi.patch Wed Oct 08 05:29:12 2014 -0700
+++ b/components/python/python27/patches/07-dlpi.patch Mon Oct 06 13:15:36 2014 -0700
@@ -1,5 +1,6 @@
-diff --git Python-2.6.4/Modules/dlpimodule.c Python-2.6.4/Modules/dlpimodule.c
-new file mode 100644
+This patch provides Python dlpi support. It may be contributed upstream at
+some point, but the suitability (or lack thereof) has not yet been determined.
+
--- /dev/null
+++ Python-2.6.4/Modules/dlpimodule.c
@@ -0,0 +1,1205 @@
@@ -1208,10 +1209,9 @@
+ PyModule_AddIntConstant(mod, "IDLE", DL_IDLE);
+ PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR);
+}
-diff --git Python-2.6.4/setup.py Python-2.6.4/setup.py
---- Python-2.6.4/setup.py
-+++ Python-2.6.4/setup.py
-@@ -1284,6 +1284,12 @@
+--- Python-2.7.8/setup.py.~3~ 2014-07-17 20:43:48.715101356 -0700
++++ Python-2.7.8/setup.py 2014-07-17 20:43:48.731874294 -0700
+@@ -1549,6 +1549,12 @@
exts.append( Extension('ucred', ['ucred.c'],
libraries = ['tsol']) )
@@ -1224,12 +1224,10 @@
# Thomas Heller's _ctypes module
self.detect_ctypes(inc_dirs, lib_dirs)
-diff --git Python-2.6.4/lib/test/dlpitest.py Python-2.6.4/Lib/test/dlpitest.py
-new file mode 100644
--- /dev/null 2011-02-12 03:13:26.000000000 -0600
+++ Python-2.6.4/Lib/test/dlpitest.py 2011-01-20 13:52:42.895865414 -0600
@@ -0,0 +1,96 @@
-+#!/usr/bin/python2.6
++#!/usr/bin/python2.7
+
+import dlpi
+import sys