diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
commit | 53cba99042fa967e2a93da9f8db806fe2d035543 (patch) | |
tree | 9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /dev-libs/libpeas/files | |
parent | 71deace00d1a2b091313fe137ab7092418c6f87c (diff) |
gentoo resync : 17.02.2020
Diffstat (limited to 'dev-libs/libpeas/files')
-rw-r--r-- | dev-libs/libpeas/files/1.22.0-py38-support.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/libpeas/files/1.22.0-py38-support.patch b/dev-libs/libpeas/files/1.22.0-py38-support.patch new file mode 100644 index 000000000000..6f4645da61c5 --- /dev/null +++ b/dev-libs/libpeas/files/1.22.0-py38-support.patch @@ -0,0 +1,29 @@ +From 3571f4b23abbf5c63e38c82d24a1880fa440499e Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp <mart@leio.tech> +Date: Sat, 15 Feb 2020 23:23:09 +0200 +Subject: [PATCH] Fix python-3.8 compatibility + +--- + configure.ac | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index bd561e2..d3d0073 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -442,7 +442,11 @@ else + found_python3=yes + PYTHON3_BIN="$PYTHON" + PYTHON3_CFLAGS=`${PYTHON3_CONFIG} --includes` +- PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs` ++ if $PYTHON3_CONFIG --embed >/dev/null 2>&1; then ++ PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs --embed` ++ else ++ PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs` ++ fi + PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags` + AC_SUBST(PYTHON3_BIN) + AC_SUBST(PYTHON3_CFLAGS) +-- +2.20.1 + |