aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/emscripten/files/1.36.7')
-rw-r--r--dev-util/emscripten/files/1.36.7/emcc.patch16
-rw-r--r--dev-util/emscripten/files/1.36.7/emcmake.patch16
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/emscripten/files/1.36.7/emcc.patch b/dev-util/emscripten/files/1.36.7/emcc.patch
new file mode 100644
index 000000000..49bf9fd0b
--- /dev/null
+++ b/dev-util/emscripten/files/1.36.7/emcc.patch
@@ -0,0 +1,16 @@
+--- a/emcc.orig 2016-05-13 02:59:24.977645718 +0200
++++ b/emcc 2016-05-13 03:00:22.778643301 +0200
+@@ -4,6 +4,7 @@
+
+
+ import sys
++import os
+
+
+
+@@ -14,4 +15,4 @@
+ else:
+ import os, subprocess
+ if __name__ == '__main__':
+- sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emcc.py')] + sys.argv[1:]))
++ sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.environ['EM_CONFIG']), 'emcc.py')] + sys.argv[1:]))
diff --git a/dev-util/emscripten/files/1.36.7/emcmake.patch b/dev-util/emscripten/files/1.36.7/emcmake.patch
new file mode 100644
index 000000000..02ce70321
--- /dev/null
+++ b/dev-util/emscripten/files/1.36.7/emcmake.patch
@@ -0,0 +1,16 @@
+--- a/emcmake.orig 2016-05-13 02:59:31.244645456 +0200
++++ b/emcmake 2016-05-13 03:03:54.995634425 +0200
+@@ -4,6 +4,7 @@
+
+
+ import sys
++import os
+
+
+
+@@ -14,4 +15,4 @@
+ else:
+ import os, subprocess
+ if __name__ == '__main__':
+- sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emcmake.py')] + sys.argv[1:]))
++ sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.environ['EM_CONFIG']), 'emcmake.py')] + sys.argv[1:]))