summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch')
-rw-r--r--meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch42
1 files changed, 14 insertions, 28 deletions
diff --git a/meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch b/meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch
index 8de5694cb4..abd63d2a96 100644
--- a/meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch
+++ b/meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch
@@ -14,29 +14,16 @@ Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
14Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 14Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
15Signed-off-by: Saul Wold <sgw@linux.intel.com> 15Signed-off-by: Saul Wold <sgw@linux.intel.com>
16 16
17diff -pruN Python-2.6.4.orig//Modules/_ctypes/libffi/configure.ac Python-2.6.4/Modules/_ctypes/libffi/configure.ac 17
18--- Python-2.6.4.orig//Modules/_ctypes/libffi/configure.ac 2009-04-28 22:01:18.000000000 +0200 182011/09/29
19+++ Python-2.6.4/Modules/_ctypes/libffi/configure.ac 2010-04-20 22:46:02.000000000 +0200 19Rebased for python 2.7.2
20@@ -23,6 +23,7 @@ AM_INIT_AUTOMAKE 20Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
21 m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) 21
22 m4_define([_AC_ARG_VAR_PRECIOUS],[]) 22
23 AC_PROG_CC 23Index: Python-2.7.2/Modules/_ctypes/libffi/Makefile.am
24+m4_undefine([_AC_ARG_VAR_PRECIOUS]) 24===================================================================
25 m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) 25--- Python-2.7.2.orig/Modules/_ctypes/libffi/Makefile.am
26 26+++ Python-2.7.2/Modules/_ctypes/libffi/Makefile.am
27 AC_SUBST(CFLAGS)
28@@ -366,7 +367,7 @@ test -d src/$TARGETDIR || mkdir src/$TAR
29
30 AC_CONFIG_LINKS(include/ffitarget.h:src/$TARGETDIR/ffitarget.h)
31
32-AC_CONFIG_FILES(include/ffi.h)
33+AC_CONFIG_FILES(include/ffi.h include/Makefile Makefile)
34
35 AC_CONFIG_LINKS(include/ffi_common.h:include/ffi_common.h)
36
37diff -pruN Python-2.6.4.orig//Modules/_ctypes/libffi/Makefile.am Python-2.6.4/Modules/_ctypes/libffi/Makefile.am
38--- Python-2.6.4.orig//Modules/_ctypes/libffi/Makefile.am 2008-03-04 21:09:11.000000000 +0100
39+++ Python-2.6.4/Modules/_ctypes/libffi/Makefile.am 2010-04-20 22:54:03.000000000 +0200
40@@ -2,7 +2,7 @@ 27@@ -2,7 +2,7 @@
41 28
42 AUTOMAKE_OPTIONS = foreign subdir-objects 29 AUTOMAKE_OPTIONS = foreign subdir-objects
@@ -45,14 +32,13 @@ diff -pruN Python-2.6.4.orig//Modules/_ctypes/libffi/Makefile.am Python-2.6.4/Mo
45+SUBDIRS = include 32+SUBDIRS = include
46 33
47 EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \ 34 EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
48 src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \ 35 src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
49@@ -32,8 +32,6 @@ EXTRA_DIST = LICENSE ChangeLog.v1 Change 36@@ -34,8 +34,6 @@ EXTRA_DIST = LICENSE ChangeLog.v1 Change
50 src/frv/ffi.c src/frv/eabi.S src/frv/ffitarget.h src/dlmalloc.c \ 37 libtool-version ChangeLog.libffi m4/libtool.m4 \
51 libtool-version ChangeLog.libffi 38 m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4
52 39
53-info_TEXINFOS = doc/libffi.texi 40-info_TEXINFOS = doc/libffi.texi
54- 41-
55 ## ################################################################ 42 ## ################################################################
56 43
57 ## 44 ##
58