pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import devel/wabt as wabt
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Sun Oct 25 14:26:08 2026 +0100
Changeset: e3bef58bcb0604eb098b7b47518fd6c389b1c9b5
Modified Files:
Makefile
Added Files:
wabt/DESCR
wabt/Makefile
wabt/PLIST
wabt/distinfo
wabt/patches/patch-CMakeLists.txt
Log Message:
Import devel/wabt as wabt
Need wabt-1.0.41 (downgraded) for vscode
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e3bef58bcb0604eb098b7b47518fd6c389b1c9b5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
wabt/DESCR | 11 ++++
wabt/Makefile | 20 ++++++++
wabt/PLIST | 103 ++++++++++++++++++++++++++++++++++++++
wabt/distinfo | 6 +++
wabt/patches/patch-CMakeLists.txt | 15 ++++++
6 files changed, 156 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index acd708e95e..efd52c1648 100644
--- a/Makefile
+++ b/Makefile
@@ -6051,6 +6051,7 @@ SUBDIR+= vpr
SUBDIR+= vscode
SUBDIR+= vsearch
SUBDIR+= w3c-httpd
+SUBDIR+= wabt
SUBDIR+= wackamole
SUBDIR+= wadgadget
SUBDIR+= wadptr
diff --git a/wabt/DESCR b/wabt/DESCR
new file mode 100644
index 0000000000..e51915dda1
--- /dev/null
+++ b/wabt/DESCR
@@ -0,0 +1,11 @@
+WABT (we pronounce it "wabbit") is a suite of tools for WebAssembly.
+
+These tools are intended for use in (or for development of) toolchains
+or other systems that want to manipulate WebAssembly files. Unlike
+the WebAssembly spec interpreter (which is written to be as simple,
+declarative and "speccy" as possible), they are written in C/C++
+and designed for easier integration into other systems. Unlike
+Binaryen these tools do not aim to provide an optimization platform
+or a higher-level compiler target; instead they aim for full fidelity
+and compliance with the spec (e.g. 1:1 round-trips with no changes
+to instructions).
diff --git a/wabt/Makefile b/wabt/Makefile
new file mode 100644
index 0000000000..868c5a6a39
--- /dev/null
+++ b/wabt/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.30 2026/09/22 07:03:51 adam Exp $
+
+DISTNAME= wabt-1.0.41
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=WebAssembly/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/WebAssembly/wabt
+COMMENT= The WebAssembly Binary Toolkit
+LICENSE= apache-2.0
+
+USE_CXX_FEATURES= c++17
+USE_LANGUAGES= c c++
+
+CMAKE_CONFIGURE_ARGS+= -DBUILD_LIBWASM=OFF
+CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTS=OFF
+
+.include "../../devel/cmake/build.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wabt/PLIST b/wabt/PLIST
new file mode 100644
index 0000000000..a5372c7511
--- /dev/null
+++ b/wabt/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD$
+bin/spectest-interp
+bin/wasm-decompile
+bin/wasm-interp
+bin/wasm-objdump
+bin/wasm-stats
+bin/wasm-strip
+bin/wasm-validate
+bin/wasm2c
+bin/wasm2wat
+bin/wast2json
+bin/wat-desugar
+bin/wat2wasm
+include/wabt/apply-names.h
+include/wabt/base-types.h
+include/wabt/binary-reader-ir.h
+include/wabt/binary-reader-logging.h
+include/wabt/binary-reader-nop.h
+include/wabt/binary-reader-objdump.h
+include/wabt/binary-reader-stats.h
+include/wabt/binary-reader.h
+include/wabt/binary-writer-spec.h
+include/wabt/binary-writer.h
+include/wabt/binary.h
+include/wabt/binding-hash.h
+include/wabt/c-writer.h
+include/wabt/cast.h
+include/wabt/color.h
+include/wabt/common.h
+include/wabt/config.h
+include/wabt/decompiler-ast.h
+include/wabt/decompiler-ls.h
+include/wabt/decompiler-naming.h
+include/wabt/decompiler.h
+include/wabt/error-formatter.h
+include/wabt/error.h
+include/wabt/expr-visitor.h
+include/wabt/feature.def
+include/wabt/feature.h
+include/wabt/filenames.h
+include/wabt/generate-names.h
+include/wabt/interp/binary-reader-interp.h
+include/wabt/interp/interp-inl.h
+include/wabt/interp/interp-math.h
+include/wabt/interp/interp-util.h
+include/wabt/interp/interp-wasi.h
+include/wabt/interp/interp.h
+include/wabt/interp/istream.h
+include/wabt/intrusive-list.h
+include/wabt/ir-util.h
+include/wabt/ir.h
+include/wabt/leb128.h
+include/wabt/lexer-source-line-finder.h
+include/wabt/lexer-source.h
+include/wabt/literal.h
+include/wabt/opcode-code-table.h
+include/wabt/opcode.def
+include/wabt/opcode.h
+include/wabt/option-parser.h
+include/wabt/range.h
+include/wabt/resolve-names.h
+include/wabt/result.h
+include/wabt/sha256.h
+include/wabt/shared-validator.h
+include/wabt/stream.h
+include/wabt/string-format.h
+include/wabt/string-util.h
+include/wabt/token.def
+include/wabt/token.h
+include/wabt/tracing.h
+include/wabt/type-checker.h
+include/wabt/type.h
+include/wabt/utf8.h
+include/wabt/validator.h
+include/wabt/wast-lexer.h
+include/wabt/wast-parser.h
+include/wabt/wat-writer.h
+include/wasm-rt-exceptions.h
+include/wasm-rt.h
+lib/cmake/wabt/wabt-config-version.cmake
+lib/cmake/wabt/wabt-config.cmake
+lib/cmake/wabt/wabt-targets-noconfig.cmake
+lib/cmake/wabt/wabt-targets.cmake
+lib/libwabt.a
+lib/libwasm-rt-impl.a
+man/man1/spectest-interp.1
+man/man1/wasm-decompile.1
+man/man1/wasm-interp.1
+man/man1/wasm-objdump.1
+man/man1/wasm-stats.1
+man/man1/wasm-strip.1
+man/man1/wasm-validate.1
+man/man1/wasm2c.1
+man/man1/wasm2wat.1
+man/man1/wast2json.1
+man/man1/wat-desugar.1
+man/man1/wat2wasm.1
+share/wabt/wasm2c/wasm-rt-exceptions-impl.c
+share/wabt/wasm2c/wasm-rt-impl-tableops.inc
+share/wabt/wasm2c/wasm-rt-impl.c
+share/wabt/wasm2c/wasm-rt-impl.h
+share/wabt/wasm2c/wasm-rt-mem-impl-helper.inc
+share/wabt/wasm2c/wasm-rt-mem-impl.c
diff --git a/wabt/distinfo b/wabt/distinfo
new file mode 100644
index 0000000000..b9653a9168
--- /dev/null
+++ b/wabt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.26 2026/09/22 07:03:51 adam Exp $
+
+BLAKE2s (wabt-1.0.41.tar.gz) = cf78cff9c06c3c654c8ed06bb439ccf6548f3ed89d0967487b658a0362468c83
+SHA512 (wabt-1.0.41.tar.gz) = afa21608c20e42b009ef4685b04a42bdaf087ffec7e5e6bc2d91a8ffd801cb54f5c67a06ad2ec4398dd190543146c79d41a444b0aa21112685d81fd192d8ffd5
+Size (wabt-1.0.41.tar.gz) = 1966102 bytes
+SHA1 (patch-CMakeLists.txt) = e65ad4657be060a20273e88014dc3279cfe1e230
diff --git a/wabt/patches/patch-CMakeLists.txt b/wabt/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..9fdc684f97
--- /dev/null
+++ b/wabt/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.4 2023/05/22 14:10:42 fcambus Exp $
+
+Do not disable extensions, needs gnu++17 for alloca(3).
+
+--- CMakeLists.txt.orig 2023-05-12 21:56:46.000000000 +0000
++++ CMakeLists.txt
+@@ -167,7 +167,7 @@ else ()
+ -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -Wuninitialized -Wimplicit-fallthrough
+ )
+
+- set(CMAKE_CXX_EXTENSIONS OFF)
++ set(CMAKE_CXX_EXTENSIONS ON)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wold-style-cast")
+
+ if (NOT WITH_EXCEPTIONS)
Home |
Main Index |
Thread Index |
Old Index