On Sat, Jan 19, 2019 at 03:41:31PM +0100, Fabian Raetz wrote:
> On Fri, Jan 18, 2019 at 10:45:38PM +0100, Raphael Graf wrote:
> > 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..
> 
> Hi. This update looks good to me. I've tested it lightly too. 
> 
> PS: Somehow the patches/patch-CMakeLists_txt chunk did not apply and
> I had to remove it manually but i'm not sure why :(
> 

Sorry, the diff had a whitespace issue. 
Here is a new diff with an additional change:
The DESCR now lists all of the tools.

ok?


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    23 Jan 2019 10:08:08 -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    23 Jan 2019 10:08:08 -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/DESCR
===================================================================
RCS file: /cvs/ports/lang/wabt/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   16 Sep 2018 13:32:32 -0000      1.1.1.1
+++ pkg/DESCR   23 Jan 2019 10:08:08 -0000
@@ -20,3 +20,19 @@ wat-desugar:
 
 wasm2c:
    convert a WebAssembly binary file to a C source and header
+
+wasm-strip:
+   remove sections of a WebAssembly binary file
+
+wasm-validate:
+   validate a file in the WebAssembly binary format
+
+wast2json:
+   convert a file in the wasm spec test format to a JSON file and associated
+   wasm binary files
+
+wasm-opcodecnt:
+   count opcode usage for instructions
+
+spectest-interp:
+   read a Spectest JSON file, and run its tests in the interpreter
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   23 Jan 2019 10:08:08 -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

Reply via email to