forked from pyodide/pyodide
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 103f41ba386105f3b123e5201a039c1d508edb59 Mon Sep 17 00:00:00 2001 | ||
From 380817b0a87d17670635e7d80b123b904a1ff72d Mon Sep 17 00:00:00 2001 | ||
From: Hood Chatham <[email protected]> | ||
Date: Fri, 2 Jun 2023 11:59:32 -0700 | ||
Subject: [PATCH 1/5] Add back fs.findObject and fs.readFile in loadLibData | ||
|
@@ -10,7 +10,7 @@ https://github.com/emscripten-core/emscripten/pull/19513 | |
1 file changed, 11 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/library_dylink.js b/src/library_dylink.js | ||
index dee697661..69542d2b8 100644 | ||
index 748468aae..eca96a1eb 100644 | ||
--- a/src/library_dylink.js | ||
+++ b/src/library_dylink.js | ||
@@ -1013,14 +1013,23 @@ var LibraryDylink = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 24a5f3ece314cf5bc1074e167f8b549d80a12718 Mon Sep 17 00:00:00 2001 | ||
From 264239a38b6093ee50171ae4c8b648d093ace7a1 Mon Sep 17 00:00:00 2001 | ||
From: Hood Chatham <[email protected]> | ||
Date: Fri, 19 May 2023 12:19:00 -0700 | ||
Subject: [PATCH 2/5] Add useful error when symbol resolution fails | ||
|
@@ -19,7 +19,7 @@ symbol. | |
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/src/library_dylink.js b/src/library_dylink.js | ||
index 69542d2b8..b3440d9dc 100644 | ||
index eca96a1eb..31ae90318 100644 | ||
--- a/src/library_dylink.js | ||
+++ b/src/library_dylink.js | ||
@@ -723,6 +723,9 @@ var LibraryDylink = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 3d483b35ff7ed6dbb8c438f08e5a3579725fe304 Mon Sep 17 00:00:00 2001 | ||
From d03c660e0a5ca58581c173f877ef9264a568adb1 Mon Sep 17 00:00:00 2001 | ||
From: Hood Chatham <[email protected]> | ||
Date: Thu, 22 Jun 2023 18:53:22 -0700 | ||
Subject: [PATCH 3/5] Changes for JSPI | ||
|
@@ -11,7 +11,7 @@ Subject: [PATCH 3/5] Changes for JSPI | |
4 files changed, 9 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/src/library.js b/src/library.js | ||
index c7f26d291..caca8ff7d 100644 | ||
index 607e18e68..cfa2e49a1 100644 | ||
--- a/src/library.js | ||
+++ b/src/library.js | ||
@@ -492,7 +492,7 @@ addToLibrary({ | ||
|
@@ -24,7 +24,7 @@ index c7f26d291..caca8ff7d 100644 | |
}, | ||
#elif !SUPPORT_LONGJMP | ||
diff --git a/src/library_dylink.js b/src/library_dylink.js | ||
index b3440d9dc..5cbd4c487 100644 | ||
index 31ae90318..f06f00904 100644 | ||
--- a/src/library_dylink.js | ||
+++ b/src/library_dylink.js | ||
@@ -73,6 +73,7 @@ var LibraryDylink = { | ||
|
@@ -45,7 +45,7 @@ index b3440d9dc..5cbd4c487 100644 | |
#endif | ||
#if !DISABLE_EXCEPTION_CATCHING | ||
diff --git a/src/parseTools.mjs b/src/parseTools.mjs | ||
index ca474affa..300f38e38 100644 | ||
index fa6da8556..5a0a48548 100644 | ||
--- a/src/parseTools.mjs | ||
+++ b/src/parseTools.mjs | ||
@@ -585,7 +585,7 @@ function makeThrow(excPtr) { | ||
|
@@ -58,7 +58,7 @@ index ca474affa..300f38e38 100644 | |
|
||
function storeException(varName, excPtr) { | ||
diff --git a/src/preamble.js b/src/preamble.js | ||
index d924c4ab9..f80aae1ff 100644 | ||
index d097c857f..6a217e022 100644 | ||
--- a/src/preamble.js | ||
+++ b/src/preamble.js | ||
@@ -14,6 +14,10 @@ | ||
|
@@ -72,7 +72,7 @@ index d924c4ab9..f80aae1ff 100644 | |
#if RELOCATABLE | ||
{{{ makeModuleReceiveWithVar('dynamicLibraries', undefined, '[]', true) }}} | ||
#endif | ||
@@ -1054,6 +1058,7 @@ function createWasm() { | ||
@@ -1038,6 +1042,7 @@ function getWasmImports() { | ||
#endif // WASM_ASYNC_COMPILATION | ||
|
||
var info = getWasmImports(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 4a203cf07ee0fa0006f27b8bd1979412d2fc0099 Mon Sep 17 00:00:00 2001 | ||
From 1f4e59e310a9dca31087987cf654333d29e42aad Mon Sep 17 00:00:00 2001 | ||
From: ryanking13 <[email protected]> | ||
Date: Sat, 20 Jan 2024 19:02:32 +0900 | ||
Subject: [PATCH 4/5] Raise when no argument is given | ||
|
@@ -13,10 +13,10 @@ Upstream issue: https://github.com/emscripten-core/emscripten/issues/21116 | |
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/emcc.py b/emcc.py | ||
index dfe088e7b..b2f0fe4cb 100644 | ||
index 2925985f2..c759defb5 100644 | ||
--- a/emcc.py | ||
+++ b/emcc.py | ||
@@ -661,6 +661,9 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P | ||
@@ -662,6 +662,9 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P | ||
print(libname) | ||
return 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From f917723823e81581edf8d6554edb054d28761fec Mon Sep 17 00:00:00 2001 | ||
From 4fb563293d2d52072b6a16b5b7d18021a339eaee Mon Sep 17 00:00:00 2001 | ||
From: Hood Chatham <[email protected]> | ||
Date: Fri, 31 Jan 2025 11:42:59 +0100 | ||
Subject: [PATCH 5/5] sdl2_image wasm-sjlj variant | ||
|
@@ -10,7 +10,7 @@ https://github.com/emscripten-core/emscripten/pull/23554 | |
1 file changed, 5 insertions(+) | ||
|
||
diff --git a/tools/ports/sdl2_image.py b/tools/ports/sdl2_image.py | ||
index 70fa1499a..ed5ad679b 100644 | ||
index e36344eed..7a7d0aadd 100644 | ||
--- a/tools/ports/sdl2_image.py | ||
+++ b/tools/ports/sdl2_image.py | ||
@@ -46,6 +46,8 @@ def get_lib_name(settings): | ||
|
@@ -22,7 +22,7 @@ index 70fa1499a..ed5ad679b 100644 | |
return libname + '.a' | ||
|
||
|
||
@@ -78,6 +80,9 @@ def get(ports, settings, shared): | ||
@@ -77,6 +79,9 @@ def get(ports, settings, shared): | ||
if settings.PTHREADS: | ||
flags += ['-pthread'] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters