From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- sys-cluster/hpx/files/hpx-1.7.1-python.patch | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys-cluster/hpx/files/hpx-1.7.1-python.patch (limited to 'sys-cluster/hpx/files/hpx-1.7.1-python.patch') diff --git a/sys-cluster/hpx/files/hpx-1.7.1-python.patch b/sys-cluster/hpx/files/hpx-1.7.1-python.patch new file mode 100644 index 000000000000..21b7ce3ceeff --- /dev/null +++ b/sys-cluster/hpx/files/hpx-1.7.1-python.patch @@ -0,0 +1,30 @@ +From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach +Date: Tue, 17 Mar 2020 16:20:35 +0100 +Subject: [PATCH 1/4] cmake: python: Use standard python interpreter + +These scripts are needed during build and run time. So, use a python interpreter +which works for both cases. + +Signed-off-by: Kurt Kanzenbach +--- + cmake/templates/hpxcxx.in | 2 +- + cmake/templates/hpxrun.py.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/cmake/templates/hpxcxx.in ++++ b/cmake/templates/hpxcxx.in +@@ -1,4 +1,4 @@ +-#! @PYTHON_EXECUTABLE@ ++#! /usr/bin/env python + # + # Copyright (c) 2014 Steven R. Brandt + # +--- a/cmake/templates/hpxrun.py.in ++++ b/cmake/templates/hpxrun.py.in +@@ -1,4 +1,4 @@ +-#! @PYTHON_EXECUTABLE@ ++#! /usr/bin/env python + # + # Copyright (c) 2014 Thomas Heller + # -- cgit v1.2.3