diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch b/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch index 054a13124c..f29ae53371 100644 --- a/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch +++ b/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch | |||
| @@ -1,29 +1,21 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 1 | We should make sure that sysroot is used by gcc instead of assuming | 3 | We should make sure that sysroot is used by gcc instead of assuming |
| 2 | hardcoded locations for include paths | 4 | hardcoded locations for include paths |
| 3 | 5 | ||
| 4 | Upstream-Status: Pending | ||
| 5 | 6 | ||
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | : | 8 | |
| 8 | Index: Python-3.3.3/configure.ac | 9 | Index: Python-3.4.2/configure.ac |
| 9 | =================================================================== | 10 | =================================================================== |
| 10 | --- Python-3.3.3.orig/configure.ac 2014-01-29 19:00:15.245312752 -0800 | 11 | --- Python-3.4.2.orig/configure.ac |
| 11 | +++ Python-3.3.3/configure.ac 2014-01-29 23:27:22.938526262 -0800 | 12 | +++ Python-3.4.2/configure.ac |
| 12 | @@ -1548,7 +1548,7 @@ | 13 | @@ -4434,7 +4434,7 @@ fi |
| 13 | # checks for header files | ||
| 14 | AC_HEADER_STDC | ||
| 15 | ac_save_cppflags="$CPPFLAGS" | ||
| 16 | -CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" | ||
| 17 | +CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw" | ||
| 18 | AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ | ||
| 19 | fcntl.h grp.h \ | ||
| 20 | ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \ | ||
| 21 | @@ -4308,7 +4308,7 @@ | ||
| 22 | fi | ||
| 23 | 14 | ||
| 15 | # first curses header check | ||
| 24 | ac_save_cppflags="$CPPFLAGS" | 16 | ac_save_cppflags="$CPPFLAGS" |
| 25 | -CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" | 17 | -CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" |
| 26 | +CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw" | 18 | +CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw" |
| 27 | # On HP/UX 11.0, mvwdelch is a block with a return statement | 19 | |
| 28 | AC_MSG_CHECKING(whether mvwdelch is an expression) | 20 | AC_CHECK_HEADERS(curses.h ncurses.h) |
| 29 | AC_CACHE_VAL(ac_cv_mvwdelch_is_expression, | 21 | |
