-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Patch missing __secs_to_zone, due to emscripten-core/emscripten#21379 - Better fix for tuklib_integer.cmake usage error in liblzma when compiling with emscripten - Fix lzma test failure
- Loading branch information
1 parent
8c650dd
commit e814f49
Showing
3 changed files
with
60 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- /emsdk/upstream/emscripten/system/lib/libc/musl/src/time/__tz.c 2024-07-22 03:41:44.000000000 +0000 | ||
+++ /root/__tz.c 2024-08-01 18:13:42.962355411 +0000 | ||
@@ -114,11 +114,6 @@ | ||
|
||
#define VEC(...) ((const unsigned char[]){__VA_ARGS__}) | ||
|
||
-static uint32_t zi_read32(const unsigned char *z) | ||
-{ | ||
- return (unsigned)z[0]<<24 | z[1]<<16 | z[2]<<8 | z[3]; | ||
-} | ||
- | ||
static size_t zi_dotprod(const unsigned char *z, const unsigned char *v, size_t n) | ||
{ | ||
size_t y; | ||
@@ -131,6 +126,11 @@ | ||
} | ||
#endif | ||
|
||
+static uint32_t zi_read32(const unsigned char *z) | ||
+{ | ||
+ return (unsigned)z[0]<<24 | z[1]<<16 | z[2]<<8 | z[3]; | ||
+} | ||
+ | ||
static void do_tzset() | ||
{ | ||
#ifdef __EMSCRIPTEN__ | ||
@@ -280,7 +280,6 @@ | ||
#endif | ||
} | ||
|
||
-#ifndef __EMSCRIPTEN__ | ||
/* Search zoneinfo rules to find the one that applies to the given time, | ||
* and determine alternate opposite-DST-status rule that may be needed. */ | ||
|
||
@@ -440,7 +439,6 @@ | ||
*zonename = __tzname[1]; | ||
UNLOCK(lock); | ||
} | ||
-#endif | ||
|
||
static void __tzset() | ||
{ |