From a0a7e548470fb9aacbcf101c370e431b32704294 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Thu, 30 Mar 2017 00:44:07 +0200 Subject: testing/emscripten: new aport https://kripken.github.io/emscripten-site/ An LLVM-to-JavaScript Compiler --- testing/emscripten/fix-python-shebang.patch | 104 ++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 testing/emscripten/fix-python-shebang.patch (limited to 'testing/emscripten/fix-python-shebang.patch') diff --git a/testing/emscripten/fix-python-shebang.patch b/testing/emscripten/fix-python-shebang.patch new file mode 100644 index 0000000000..4cb0c3d6a8 --- /dev/null +++ b/testing/emscripten/fix-python-shebang.patch @@ -0,0 +1,104 @@ +--- a/em++ ++++ b/em++ +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. + # It also tells emcc.py that we want C++ and not C by default +--- a/em++.py ++++ b/em++.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. + # It also tells emcc.py that we want C++ and not C by default +--- a/emar ++++ b/emar +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emar.py, which needs python 2. + +--- a/emcc ++++ b/emcc +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. + +--- a/emcmake ++++ b/emcmake +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emcmake.py, which needs python 2. + +--- a/emconfigure ++++ b/emconfigure +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emconfigure.py, which needs python 2. + +--- a/emmake ++++ b/emmake +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # This script should work in python 2 *or* 3. It loads emmake.py, which needs python 2. + +--- a/emranlib ++++ b/emranlib +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + ''' + emcc - ranlib helper script +--- a/emrun ++++ b/emrun +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + # emrun: Implements machinery that allows running a .html page as if it was a standard executable file. + # Usage: emrun filename.html +--- a/system/bin/sdl-config ++++ b/system/bin/sdl-config +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + from __future__ import print_function + import sys +--- a/system/bin/sdl2-config ++++ b/system/bin/sdl2-config +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + from __future__ import print_function + import sys +--- a/tools/emprofile.py ++++ b/tools/emprofile.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import sys, shutil, os, json, tempfile, time + +--- a/tools/ffdb.py ++++ b/tools/ffdb.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import socket, json, sys, uuid, datetime, time, logging, cgi, zipfile, os, tempfile, atexit, subprocess, re, base64, struct, imghdr + -- cgit v1.2.3