summaryrefslogtreecommitdiff
path: root/sys-cluster/hpx/files/hpx-1.8.1-python.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-14 20:26:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-14 20:26:21 +0100
commitd4be17a40855a064f44debc16c4ec9b501547a26 (patch)
tree31803b808ed1a411f808c2203ecbf06b656ed9fd /sys-cluster/hpx/files/hpx-1.8.1-python.patch
parenta6b284ce6cc4682e2f879616e915f11774a183ac (diff)
gentoo auto-resync : 14:08:2022 - 20:26:21
Diffstat (limited to 'sys-cluster/hpx/files/hpx-1.8.1-python.patch')
-rw-r--r--sys-cluster/hpx/files/hpx-1.8.1-python.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-cluster/hpx/files/hpx-1.8.1-python.patch b/sys-cluster/hpx/files/hpx-1.8.1-python.patch
new file mode 100644
index 000000000000..21b7ce3ceeff
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.1-python.patch
@@ -0,0 +1,30 @@
+From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach <kurt@kmk-computers.de>
+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 <kurt@kmk-computers.de>
+---
+ 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
+ #