From a85f2e141a3b872fe7dabb0fe78c261d894eb73d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 12 Sep 2020 18:50:11 -0700 Subject: [PATCH] libpsl: fix compilation with debian setuptools Signed-off-by: Rosen Penev --- libs/libpsl/Makefile | 2 +- libs/libpsl/patches/010-python.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/libpsl/patches/010-python.patch diff --git a/libs/libpsl/Makefile b/libs/libpsl/Makefile index 176e5cf914..ffd6758e94 100644 --- a/libs/libpsl/Makefile +++ b/libs/libpsl/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libpsl PKG_VERSION:=0.21.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/rockdaboot/libpsl/releases/download/$(PKG_VERSION) diff --git a/libs/libpsl/patches/010-python.patch b/libs/libpsl/patches/010-python.patch new file mode 100644 index 0000000000..d601fd69d8 --- /dev/null +++ b/libs/libpsl/patches/010-python.patch @@ -0,0 +1,11 @@ +--- a/meson.build ++++ b/meson.build +@@ -131,7 +131,7 @@ if psl_test_file == '' + psl_test_file = join_paths(meson.current_source_dir(), 'list', 'tests', 'tests.txt') + endif + +-python = import('python').find_installation() ++python = 'python3' + pkgconfig = import('pkgconfig') + + if cc.get_id() == 'msvc'