From 2f40ea794124b4fc55859b181bdce24205291c0f Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Wed, 3 Mar 2021 11:10:50 +0000 Subject: [PATCH] net/cjdns: Unbreak build with python3.8+ PR: 253815 Approved by: python --- net/cjdns/files/patch-node__build_FindPython.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/cjdns/files/patch-node__build_FindPython.js diff --git a/net/cjdns/files/patch-node__build_FindPython.js b/net/cjdns/files/patch-node__build_FindPython.js new file mode 100644 index 0000000000000..995b0bcc0f40d --- /dev/null +++ b/net/cjdns/files/patch-node__build_FindPython.js @@ -0,0 +1,11 @@ +--- node_build/FindPython.js.orig 2020-10-05 21:46:19 UTC ++++ node_build/FindPython.js +@@ -23,7 +23,7 @@ var Fs = require('fs'); + // de-prioritize because the testing script accepts ANY python3 version + // (as of this writing, we don't know what python3 versions actually work) + // whereas we know that python2.7 is the only working python2 version. +-var PYTHONS = ["python3.7", "python3", "python2.7", "python2", "python"]; ++var PYTHONS = ["python3.9", "python3.8", "python3.7", "python3", "python2.7", "python2", "python"]; + + var SCRIPT = [ + 'import sys',