aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emscripten/fix-python-shebang.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-30 00:44:07 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-03-31 12:58:10 +0200
commita0a7e548470fb9aacbcf101c370e431b32704294 (patch)
treee500d7bc15ba658e4ed9895de11a6b936db6cd13 /testing/emscripten/fix-python-shebang.patch
parent5dc3bb2b38d3e0793437bc6027f433f7e76414d1 (diff)
downloadaports-a0a7e548470fb9aacbcf101c370e431b32704294.tar.bz2
aports-a0a7e548470fb9aacbcf101c370e431b32704294.tar.xz
testing/emscripten: new aport
https://kripken.github.io/emscripten-site/ An LLVM-to-JavaScript Compiler
Diffstat (limited to 'testing/emscripten/fix-python-shebang.patch')
-rw-r--r--testing/emscripten/fix-python-shebang.patch104
1 files changed, 104 insertions, 0 deletions
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 <options> filename.html <args to program>
+--- 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
+