From c83738e70baeab2df370c1c73b13bb8feb99eb11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Apr 2023 11:34:26 +0100 Subject: gentoo auto-resync : 09:04:2023 - 11:34:26 --- .../handbrake-9999-dont-search-for-python.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 media-video/handbrake/files/handbrake-9999-dont-search-for-python.patch (limited to 'media-video/handbrake/files') diff --git a/media-video/handbrake/files/handbrake-9999-dont-search-for-python.patch b/media-video/handbrake/files/handbrake-9999-dont-search-for-python.patch new file mode 100644 index 000000000000..f9971e508404 --- /dev/null +++ b/media-video/handbrake/files/handbrake-9999-dont-search-for-python.patch @@ -0,0 +1,26 @@ +--- a/configure ++++ b/configure +@@ -14,20 +14,8 @@ inpath() + } + + if ( inpath bash ); then +- pp="" +- for p in python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python2 python2.7 python +- do +- if ( inpath $p ); then +- pp="$p" +- break +- fi +- done +- if [ "$pp" != "" ]; then +- exec $pp `dirname $0`/make/configure.py "$@" +- exit 0 +- else +- echo "ERROR: no suitable version of python found." +- fi ++ exec python `dirname $0`/make/configure.py "$@" ++ exit 0 + else + echo "ERROR: bash shell not found." + fi + -- cgit v1.2.3