Skip to content

Commit

Permalink
Fix bug 66513
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Feb 16, 2024
1 parent e11f145 commit 7790166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions DesktopEditor/graphics/pro/js/after.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
base.configure_common_apps()

base.replaceInFile("../../../../Common/3dParty/icu/icu/source/common/udata.cpp", "\n{\n#ifdef BUILDING_WASM_MODULE\nreturn NULL;\n#endif\n UDataMemory tData;", "\n{\n UDataMemory tData;")
base.replaceInFile("../../../../DesktopEditor/cximage/png/pnglibconf.h", "//#define PNG_CONSOLE_IO_SUPPORTED", "#define PNG_CONSOLE_IO_SUPPORTED")

# finalize
base.replaceInFile("./deploy/drawingfile.js", "function getBinaryPromise(", "function getBinaryPromise2(")
Expand Down
1 change: 1 addition & 0 deletions DesktopEditor/graphics/pro/js/before.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
common.apply_patch("./freetype-2.10.4/builds/unix/ftsystem.c", "./wasm/patches/ftsystem.patch")

base.replaceInFile("../../../../Common/3dParty/icu/icu/source/common/udata.cpp", "\n{\n UDataMemory tData;", "\n{\n#ifdef BUILDING_WASM_MODULE\nreturn NULL;\n#endif\n UDataMemory tData;")
base.replaceInFile("../../../../DesktopEditor/cximage/png/pnglibconf.h", "#define PNG_CONSOLE_IO_SUPPORTED", "//#define PNG_CONSOLE_IO_SUPPORTED")

0 comments on commit 7790166

Please sign in to comment.