diff --git a/wasi-libc/.nostrip b/wasi-libc/.nostrip index f29e12907..1cfddbbdc 100644 --- a/wasi-libc/.nostrip +++ b/wasi-libc/.nostrip @@ -1 +1,2 @@ usr/share/wasi-sysroot/lib/wasm32-wasi/.*\.a +usr/lib/clang/.*/lib/wasi/.*\.a diff --git a/wasi-libc/.signature b/wasi-libc/.signature index ef98c52a7..01d3646cd 100644 --- a/wasi-libc/.signature +++ b/wasi-libc/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF31MoGoHAlDEZyKhqC13PTYF/zBVZ39lqsjRufKvaA5xmbd0oyyc6Tv//JbpVNiiIZ9dZvjXi0352LqAyJ/QtoAU= -SHA256 (Pkgfile) = 0121cb0fbf5f28e1e8a6beb1e2f58c5ae26412379596d2373fb3a4aab1c60544 +RWSagIOpLGJF329/oz6G7HZZZMRcR5OnP+pOBBOWRsHVEHp17cg2AHn/tU5Wag9nVwJlL9xxWNXJjtU/f1lagcMred1enopMnAM= +SHA256 (Pkgfile) = 7d3177fc69e8509ac820a85c059e619fedb5c19aae30ebf274a22377339847f4 SHA256 (.footprint) = c0628cc7294ebe05a3a7f4c43cffc9aa31ac513281cccbd92ba96f4f9c9ea87b -SHA256 (wasi-libc-0.20230713.tar.gz) = 5ea5da195dc43c3262c099d73d8d7d24f42006bd619aa09e13c82fd498ac0e4e +SHA256 (wasi-libc-0.20230918.tar.gz) = f709f37ca7ecb1f9accb8fd55888376e8de6b904c466b4d134380965f7808d9e SHA256 (no-double-build.patch) = 875fd0131997dfdec737ba7a2df93d6d243def5ad0b60aac6d48fab9c902b464 diff --git a/wasi-libc/Pkgfile b/wasi-libc/Pkgfile index ca35fa5cf..a88794b45 100644 --- a/wasi-libc/Pkgfile +++ b/wasi-libc/Pkgfile @@ -4,25 +4,25 @@ # Depends on: clang name=wasi-libc -version=0.20230713 -_commit=9f51a7102085ec6a6ced5778f0864c9af9f50000 +version=0.20230918 +_commit=ce2f157d46e04f323edf93f02c8f60069d88df96 release=1 -source=(https://github.com/WebAssembly/wasi-libc/archive/$_commit/$name-$version.tar.gz - no-double-build.patch) +source=(https://github.com/WebAssembly/$name/archive/$_commit/$name-$version.tar.gz + no-double-build.patch) build() { - cd $name-$_commit + cd $name-$_commit - patch -p1 -i $SRC/no-double-build.patch + patch -p1 -i $SRC/no-double-build.patch - # Remove bulk memory support - # https://bugzilla.mozilla.org/show_bug.cgi?id=1773200#c4 - make CC=clang BULK_MEMORY_SOURCES= - make INSTALL_DIR="$PKG"/usr/share/wasi-sysroot install + # Remove bulk memory support + # https://bugzilla.mozilla.org/show_bug.cgi?id=1773200#c4 + make CC=clang BULK_MEMORY_SOURCES= + make INSTALL_DIR="$PKG/usr/share/wasi-sysroot" install - cd $PKG/usr/share/wasi-sysroot/lib/wasm32-wasi - for f in *.a; do - /usr/bin/llvm-ranlib $f - /usr/bin/llvm-strip --strip-debug $f - done + cd $PKG/usr/share/wasi-sysroot/lib/wasm32-wasi + for f in *.a; do + /usr/bin/llvm-ranlib $f + /usr/bin/llvm-strip --strip-debug $f + done }