Page MenuHomeFreeBSD

D32883.diff
No OneTemporary

D32883.diff

diff --git a/devel/wasm3/Makefile b/devel/wasm3/Makefile
--- a/devel/wasm3/Makefile
+++ b/devel/wasm3/Makefile
@@ -1,11 +1,11 @@
PORTNAME= wasm3
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= freebsd@sysctl.cz
-COMMENT= The fastest WebAssembly interpreter, and the most universal runtime
+COMMENT= High performance WebAssembly interpreter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -14,10 +14,11 @@
USES= cmake:insource cpe localbase:ldflags
CPE_VENDOR= ${PORTNAME}_project
+
USE_GITHUB= yes
-GH_ACCOUNT= wasm3
-GH_PROJECT= wasm3
-GH_TUPLE+= vshymanskyy:uvwasi:b063d686848:uvwasi/_deps/uvwasi-src
+GH_TUPLE= vshymanskyy:uvwasi:b063d686848:uvwasi/_deps/uvwasi-src
+
+CMAKE_OFF= BUILD_NATIVE
PLIST_FILES= bin/wasm3
diff --git a/devel/wasm3/files/patch-CMakeLists.txt b/devel/wasm3/files/patch-CMakeLists.txt
--- a/devel/wasm3/files/patch-CMakeLists.txt
+++ b/devel/wasm3/files/patch-CMakeLists.txt
@@ -1,14 +1,27 @@
--- CMakeLists.txt.orig 2021-06-02 10:40:14 UTC
+++ CMakeLists.txt
-@@ -172,7 +172,7 @@ else()
+@@ -166,18 +166,18 @@ else()
+ endif()
+ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb -O0")
+
+- set(CMAKE_C_FLAGS_RELEASE "-O3 -Wfatal-errors -fomit-frame-pointer -fno-stack-check -fno-stack-protector") #-fno-inline
++ set(CMAKE_C_FLAGS_RELEASE "-Wfatal-errors -fomit-frame-pointer -fno-stack-check -fno-stack-protector") #-fno-inline
+
+ if(BUILD_NATIVE)
if(APPLE AND CMAKE_C_COMPILER_ID MATCHES "Clang" AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm64")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mcpu=native")
else()
- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -march=native")
-+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mcpu=native")
endif()
endif()
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-O0")
+- set(CMAKE_EXE_LINKER_FLAGS_RELEASE "-O3")
++# set(CMAKE_EXE_LINKER_FLAGS_RELEASE "-O3")
+
+ target_link_libraries(${OUT_FILE} m)
+
@@ -188,21 +188,10 @@ if(BUILD_WASI MATCHES "simple")
elseif(BUILD_WASI MATCHES "metawasi")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Dd_m3HasMetaWASI")
diff --git a/devel/wasm3/pkg-descr b/devel/wasm3/pkg-descr
--- a/devel/wasm3/pkg-descr
+++ b/devel/wasm3/pkg-descr
@@ -1,3 +1,4 @@
-The fastest WebAssembly interpreter, and the most universal runtime.
+High performance WebAssembly interpreter in C with low system requirements and
+wide support of different architectures
WWW: https://github.com/wasm3/wasm3

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 3:19 PM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14763299
Default Alt Text
D32883.diff (2 KB)

Event Timeline