+++ /dev/null
-PR .= "-vuplus0"
-
-RPROVIDES_{PN} += "python-pickle-native python-pprint-native"
-
--- /dev/null
+PR .= "-vuplus0"
+
+RPROVIDES_${PN} += "python-pickle-native python-pprint-native"
+
---- a/Modules/_ctypes/_ctypes.c 2012-01-26 15:41:30.000000000 +0100
-+++ b/Modules/_ctypes/_ctypes.c 2012-01-26 15:44:41.046977137 +0100
-@@ -602,10 +602,16 @@
+diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
+index 4ae2c41..ebd9960 100644
+--- a/Modules/_ctypes/_ctypes.c
++++ b/Modules/_ctypes/_ctypes.c
+@@ -602,10 +602,16 @@ CDataType_in_dll(PyObject *type, PyObject *args)
#ifdef __CYGWIN__
/* dlerror() isn't very helpful on cygwin */
PyErr_Format(PyExc_ValueError,
#endif
return NULL;
}
-@@ -3290,10 +3296,16 @@
+@@ -3343,10 +3349,16 @@ PyCFuncPtr_FromDll(PyTypeObject *type, PyObject *args, PyObject *kwds)
#ifdef __CYGWIN__
/* dlerror() isn't very helpful on cygwin */
PyErr_Format(PyExc_AttributeError,
---- configure.in.org 2008-05-01 12:40:58.000000000 +0200
-+++ configure.in 2008-05-01 12:39:39.000000000 +0200
-@@ -998,7 +999,7 @@
+diff --git a/configure.in b/configure.in
+index d0c9f83..b565f95 100644
+--- a/configure.in
++++ b/configure.in
+@@ -1303,7 +1303,7 @@ then
# so we need to run a program to see whether it really made the
# function available.
AC_MSG_CHECKING(whether $CC accepts -pthread)
+AC_CACHE_VAL(ac_cv_pthread,
[ac_save_cc="$CC"
CC="$CC -pthread"
- AC_TRY_RUN([
-@@ -1023,11 +1024,11 @@
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
+@@ -1325,11 +1325,11 @@ fi
# If we have set a CC compiler flag for thread support then
# check if it works for CXX, too.
if test "$ac_cv_kpthread" = "yes"
then
-@@ -1056,9 +1057,11 @@
+@@ -1358,9 +1358,11 @@ then
fi
rm -fr conftest*
fi
Fixes exception on 'import uuid' if ldconfig is unavailable.
-diff -Naur Python-2.6.7.orig/Lib/ctypes/util.py Python-2.6.7/Lib/ctypes/util.py
---- Python-2.6.7.orig/Lib/ctypes/util.py 2010-03-20 03:11:16.000000000 +0100
-+++ Python-2.6.7/Lib/ctypes/util.py 2012-01-12 15:26:37.562726637 +0100
-@@ -204,7 +204,16 @@
+diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
+index 7aee0ef..e03bb13 100644
+--- a/Lib/ctypes/util.py
++++ b/Lib/ctypes/util.py
+@@ -210,7 +210,16 @@ elif os.name == "posix":
return res.group(1)
def find_library(name):
---- configure.in 2008-02-13 20:17:17.000000000 +0100
-+++ configure.in 2008-10-21 22:45:31.000000000 +0200
-@@ -3369,27 +3369,9 @@
- AC_MSG_RESULT(no)
+diff --git a/configure.in b/configure.in
+index 2d997dc..d0c9f83 100644
+--- a/configure.in
++++ b/configure.in
+@@ -4167,27 +4167,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[void *x=resizeterm
+ [AC_MSG_RESULT(no)]
)
-AC_MSG_CHECKING(for /dev/ptmx)
-fi
+AC_CHECK_FILE(/dev/ptc, AC_DEFINE(HAVE_DEV_PTC, 1, [Define if we have /dev/ptc.]))
- case $MACHDEP in
- darwin)
+ if test "$have_long_long" = yes
+ then
+++ /dev/null
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-PR .= "-vuplus0"
-
-SRC_URI += " \
- file://some_configure_fixes.patch;striplevel=0 \
- file://fix_pthread_site.patch;striplevel=0 \
- file://no-ldconfig.patch \
- file://ctypes-error-handling-fix.patch \
-"
-
-EXTRA_OECONF += " \
- ac_cv_file__dev_ptmx=yes \
- ac_cv_file__dev_ptc=no \
- ac_cv_no_strict_aliasing_ok=yes \
- ac_cv_pthread=yes \
- ac_cv_cxx_thread=yes \
- ac_cv_sizeof_off_t=8 \
-"
--- /dev/null
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR .= "-vuplus0"
+
+SRC_URI += " \
+ file://some_configure_fixes.patch \
+ file://fix_pthread_site.patch \
+ file://no-ldconfig.patch \
+ file://ctypes-error-handling-fix.patch \
+"
+
+EXTRA_OECONF += " \
+ ac_cv_file__dev_ptmx=yes \
+ ac_cv_file__dev_ptc=no \
+ ac_cv_no_strict_aliasing_ok=yes \
+ ac_cv_pthread=yes \
+ ac_cv_cxx_thread=yes \
+ ac_cv_sizeof_off_t=8 \
+"