diff options
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin/use_py3.patch | 20 | ||||
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pidgin/pidgin/use_py3.patch b/meta-oe/recipes-support/pidgin/pidgin/use_py3.patch new file mode 100644 index 0000000000..c7b4163cb5 --- /dev/null +++ b/meta-oe/recipes-support/pidgin/pidgin/use_py3.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | --- a/configure.ac | ||
2 | +++ b/configure.ac | ||
3 | @@ -1488,7 +1488,7 @@ AC_ARG_WITH([python], | ||
4 | |||
5 | if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then | ||
6 | if test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then | ||
7 | - AC_PATH_PROG([PYTHON], [python], [no]) | ||
8 | + AC_PATH_PROG([PYTHON], [python3], [no]) | ||
9 | fi | ||
10 | |||
11 | if test x"$PYTHON" = x"no" ; then | ||
12 | @@ -1568,7 +1568,7 @@ dnl Check for Python headers (currently | ||
13 | dnl (Thanks to XChat) | ||
14 | if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then | ||
15 | AC_MSG_CHECKING(for Python compile flags) | ||
16 | - PKG_CHECK_MODULES(PY, python, [ | ||
17 | + PKG_CHECK_MODULES(PY, python3, [ | ||
18 | AC_SUBST(PY_CFLAGS) | ||
19 | AC_SUBST(PY_LIBS) | ||
20 | ], [ | ||
diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb b/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb index b4944258fa..fdc79e81b2 100644 --- a/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb +++ b/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb | |||
@@ -11,6 +11,7 @@ SRC_URI = "\ | |||
11 | file://sanitize-configure.ac.patch \ | 11 | file://sanitize-configure.ac.patch \ |
12 | file://purple-OE-branding-25.patch \ | 12 | file://purple-OE-branding-25.patch \ |
13 | file://pidgin-cross-python-265.patch \ | 13 | file://pidgin-cross-python-265.patch \ |
14 | file://use_py3.patch \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | SRC_URI[md5sum] = "423403494fe1951e47cc75231f743bb0" | 17 | SRC_URI[md5sum] = "423403494fe1951e47cc75231f743bb0" |