From 6cd7f100ab74b29e5f1788ddb0803dd198f1e05b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:41:32 +0000 Subject: [PATCH 1/3] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From bd5d0c02463a36866cfd6c53800b475eb287a4fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 19 Aug 2026 12:26:42 +0200 Subject: [PATCH 2/3] Update to version 33 (rhbz#2513553) --- ...for-LLVM-trunk-20-as-of-2025-01-26-5.patch | 34 ------------------- sources | 2 +- wasi-libc.spec | 2 +- 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 0002-Adjust-Makefile-for-LLVM-trunk-20-as-of-2025-01-26-5.patch diff --git a/0002-Adjust-Makefile-for-LLVM-trunk-20-as-of-2025-01-26-5.patch b/0002-Adjust-Makefile-for-LLVM-trunk-20-as-of-2025-01-26-5.patch deleted file mode 100644 index 7bb37f4..0000000 --- a/0002-Adjust-Makefile-for-LLVM-trunk-20-as-of-2025-01-26-5.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 293ea3296973c85a02cf7db6a1fe8b9c6d28e941 Mon Sep 17 00:00:00 2001 -From: Mike Hommey -Date: Wed, 29 Jan 2025 08:26:30 +0900 -Subject: [PATCH] Adjust Makefile for LLVM trunk (20) as of 2025-01-26 (#564) - -https://github.com/llvm/llvm-project/commit/33ad474c45e6d7a0de7bc75e15e27cf6cb9ff895 -Signed-off-by: rpm-build ---- - Makefile | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Makefile b/Makefile -index c340da4..b14f6cf 100644 ---- a/Makefile -+++ b/Makefile -@@ -893,6 +893,7 @@ check-symbols: $(STARTUP_FILES) libc - @# TODO: Filter out __GCC_(CON|DE)STRUCTIVE_SIZE that are new to clang 19. - @# TODO: Filter out __STDC_EMBED_* that are new to clang 19. - @# TODO: Filter out __*_NORM_MAX__ that are new to clang 19. -+ @# TODO: Filter out __INT*_C() that are new to clang 20. - @# TODO: clang defined __FLT_EVAL_METHOD__ until clang 15, so we force-undefine it - @# for older versions. - @# TODO: Undefine __wasm_mutable_globals__ and __wasm_sign_ext__, that are new to -@@ -943,6 +944,7 @@ check-symbols: $(STARTUP_FILES) libc - | grep -v '^#define __OPTIMIZE__' \ - | grep -v '^#define assert' \ - | grep -v '^#define __NO_INLINE__' \ -+ | grep -v '^#define __U\?INT.*_C(' \ - > "$(SYSROOT_SHARE)/predefined-macros.txt" - - # Check that the computed metadata matches the expected metadata. --- -2.50.0 - diff --git a/sources b/sources index 6160af5..04d9551 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wasi-libc-wasi-sdk-32.tar.gz) = 5a07d2d21789c7ad8669d87a33bd0d397b2c64ebb11de81ee3c1c027754a9a88e06c524526b4b7170fa4dfd7e1bfec0a5f58757103a6fe1a8ab136abc7e8a190 +SHA512 (wasi-libc-wasi-sdk-33.tar.gz) = 7b07509db0ce6817a9616988b8b4ea9c7a87a2318e68ed350a2d0a8f7e839bb97e1cb766a568b008654149835b430a5a090f767ed9db0ca30503c4efe864a49c diff --git a/wasi-libc.spec b/wasi-libc.spec index 9ee3b6b..ff2f0a8 100644 --- a/wasi-libc.spec +++ b/wasi-libc.spec @@ -1,6 +1,6 @@ Name: wasi-libc Summary: C library implementation for WebAssembly System Interface -Version: 32 +Version: 33 Release: %autorelease License: Apache-2.0 WITH LLVM-exception AND Apache-2.0 AND MIT AND BSD-2-Clause From b6723f836f6287c3b036b5c9f589e8bf49d6b3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 19 Aug 2026 13:09:50 +0200 Subject: [PATCH 3/3] add rpmlint config to filter expected errors [skip changelog] --- wasi-libc.rpmlintrc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 wasi-libc.rpmlintrc diff --git a/wasi-libc.rpmlintrc b/wasi-libc.rpmlintrc new file mode 100644 index 0000000..70329d5 --- /dev/null +++ b/wasi-libc.rpmlintrc @@ -0,0 +1,4 @@ +# cross-compilation files are expected +addFilter(r"\barch-independent-package-contains-binary-or-object /usr/wasm32-wasi/.*") +# some header files are empty, and that's expected +addFilter(r"\bzero-length /usr/wasm32-wasi/include/wasm32-wasi/bits/.*\.h")