The diff below updates wabt to 1.0.8.
There is now a manpage for each of the tools.
The patch is no longer needed, both issues have been fixed by upstream.
I have only lightly tested some of the tools, found no problems..
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/wabt/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 16 Sep 2018 13:32:32 -0000 1.1.1.1
+++ Makefile 18 Jan 2019 21:13:10 -0000
@@ -4,7 +4,7 @@ COMMENT = WebAssembly binary toolkit
GH_ACCOUNT = WebAssembly
GH_PROJECT = wabt
-GH_TAGNAME = 1.0.5
+GH_TAGNAME = 1.0.8
CATEGORIES = lang
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/wabt/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo 16 Sep 2018 13:32:32 -0000 1.1.1.1
+++ distinfo 18 Jan 2019 21:13:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (wabt-1.0.5.tar.gz) = KFcAUSpq8VJMFkItYa5JWdSzh/KoJpgZjrUktRSCWoo=
-SIZE (wabt-1.0.5.tar.gz) = 887391
+SHA256 (wabt-1.0.8.tar.gz) = /6rW3lz7xb4MfnjM1MC0S70eWeqjjPUPQkXKBNvaiD4=
+SIZE (wabt-1.0.8.tar.gz) = 954541
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 16 Sep 2018 13:32:32 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2018/09/16 13:32:32 bcallah Exp $
-
-rm -Werror
-rm python - it is only used by tests which we don't execute
-
-Index: CMakeLists.txt
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -89,7 +89,7 @@ else ()
- # interfaces, etc.
- # disable -Wpointer-arith: this is a GCC extension, and doesn't work in
MSVC.
- add_definitions(
-- -Wall -Wextra -Werror -Wno-unused-parameter -Wpointer-arith -g -std=c++11
-+ -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -g -std=c++11
- -Wold-style-cast -Wuninitialized
- )
-
-@@ -370,7 +370,6 @@ if (NOT EMSCRIPTEN)
- endif ()
-
- # test running
-- find_package(PythonInterp 2.7 REQUIRED)
- set(RUN_TESTS_PY ${WABT_SOURCE_DIR}/test/run-tests.py)
- add_custom_target(run-tests
- COMMAND ${PYTHON_EXECUTABLE} ${RUN_TESTS_PY} --bindir ${CMAKE_BINARY_DIR}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/wabt/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 16 Sep 2018 13:32:32 -0000 1.1.1.1
+++ pkg/PLIST 18 Jan 2019 21:13:10 -0000
@@ -3,9 +3,21 @@
@bin bin/wasm-interp
@bin bin/wasm-objdump
@bin bin/wasm-opcodecnt
+@bin bin/wasm-strip
@bin bin/wasm-validate
@bin bin/wasm2c
@bin bin/wasm2wat
@bin bin/wast2json
@bin bin/wat-desugar
@bin bin/wat2wasm
+@man man/man1/spectest-interp.1
+@man man/man1/wasm-interp.1
+@man man/man1/wasm-objdump.1
+@man man/man1/wasm-opcodecnt.1
+@man man/man1/wasm-strip.1
+@man man/man1/wasm-validate.1
+@man man/man1/wasm2c.1
+@man man/man1/wasm2wat.1
+@man man/man1/wast2json.1
+@man man/man1/wat-desugar.1
+@man man/man1/wat2wasm.1