--- a/components/python/python27/patches/06-ucred.patch Wed Oct 08 05:29:12 2014 -0700
+++ b/components/python/python27/patches/06-ucred.patch Mon Oct 06 13:15:36 2014 -0700
@@ -1,5 +1,6 @@
-diff --git Python-2.6.4/Modules/ucred.c Python-2.6.4/Modules/ucred.c
-new file mode 100644
+This patch provides Python ucred 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/ucred.c
@@ -0,0 +1,390 @@
@@ -393,10 +394,9 @@
+
+ PyModule_AddObject(m, "ucred", (PyObject *)&pyucred_type);
+}
-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
-@@ -1277,6 +1277,13 @@
+--- Python-2.7.8/setup.py.~2~ 2014-07-17 20:41:55.688200021 -0700
++++ Python-2.7.8/setup.py 2014-07-17 20:41:55.733063564 -0700
+@@ -1542,6 +1542,13 @@
else:
missing.append('dl')
@@ -410,12 +410,10 @@
# Thomas Heller's _ctypes module
self.detect_ctypes(inc_dirs, lib_dirs)
-diff --git Python-2.6.4/Lib/test/ucredtext.py Python-2.6.4/Lib/test/ucredtext.py
-new file mode 100644
--- /dev/null 2011-02-12 03:14:16.000000000 -0600
+++ Python-2.6.4/Lib/test/ucredtest.py 2011-01-20 13:52:42.945657919 -0600
@@ -0,0 +1,45 @@
-+#!/usr/bin/python2.6
++#!/usr/bin/python2.7
+
+import ucred
+import os