summaryrefslogtreecommitdiff
path: root/media-video/handbrake/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-09 11:34:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-09 11:34:26 +0100
commitc83738e70baeab2df370c1c73b13bb8feb99eb11 (patch)
tree25031d5df1ae5d4c570107752277be06b970bcbf /media-video/handbrake/files
parent3e1b17a1a1b2bac1314c0ea171fbd05bb098f02b (diff)
gentoo auto-resync : 09:04:2023 - 11:34:26
Diffstat (limited to 'media-video/handbrake/files')
-rw-r--r--media-video/handbrake/files/handbrake-9999-dont-search-for-python.patch26
1 files changed, 26 insertions, 0 deletions
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
+