pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/wabt



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Fri May 13 08:56:52 UTC 2022

Modified Files:
        pkgsrc/devel/wabt: Makefile distinfo
Added Files:
        pkgsrc/devel/wabt/patches: patch-CMakeLists.txt

Log Message:
wabt: needs gnu++17 for alloca(3).

This should fix the build on aarch64.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/wabt/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/wabt/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/wabt/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/wabt/Makefile
diff -u pkgsrc/devel/wabt/Makefile:1.11 pkgsrc/devel/wabt/Makefile:1.12
--- pkgsrc/devel/wabt/Makefile:1.11     Thu May 12 08:10:30 2022
+++ pkgsrc/devel/wabt/Makefile  Fri May 13 08:56:52 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/05/12 08:10:30 fcambus Exp $
+# $NetBSD: Makefile,v 1.12 2022/05/13 08:56:52 fcambus Exp $
 
 DISTNAME=      wabt-1.0.29
 CATEGORIES=    devel
@@ -13,7 +13,7 @@ CONFIGURE_DIRS=       ${WRKDIR}/build
 CMAKE_ARG_PATH=        ${WRKSRC}
 
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++17
+USE_LANGUAGES= c gnu++17
 
 CMAKE_ARGS+=   -DBUILD_TESTS=OFF -DBUILD_LIBWASM=OFF
 

Index: pkgsrc/devel/wabt/distinfo
diff -u pkgsrc/devel/wabt/distinfo:1.12 pkgsrc/devel/wabt/distinfo:1.13
--- pkgsrc/devel/wabt/distinfo:1.12     Thu May  5 07:04:29 2022
+++ pkgsrc/devel/wabt/distinfo  Fri May 13 08:56:52 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2022/05/05 07:04:29 fcambus Exp $
+$NetBSD: distinfo,v 1.13 2022/05/13 08:56:52 fcambus Exp $
 
 BLAKE2s (wabt-1.0.29.tar.gz) = 757bfe1aa05672c15493929d53d57564cce26af30386ca2d205340705168e969
 SHA512 (wabt-1.0.29.tar.gz) = 7783e16c848da76392cd9f35aa1d205872d3d42e6aea1a815b28df3373cd547d2f139df4899de495bb6ee753c7c0bd608adc35538c2d3eb7325498457d6b3e08
 Size (wabt-1.0.29.tar.gz) = 1150946 bytes
+SHA1 (patch-CMakeLists.txt) = 3f53b60fdeed352cd41090c07d13ae15a1629155

Added files:

Index: pkgsrc/devel/wabt/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/devel/wabt/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Fri May 13 08:56:52 2022
+++ pkgsrc/devel/wabt/patches/patch-CMakeLists.txt      Fri May 13 08:56:52 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2022/05/13 08:56:52 fcambus Exp $
+
+Do not disable extensions, needs gnu++17 for alloca(3).
+
+--- CMakeLists.txt.orig        2022-05-04 14:41:06.000000000 +0000
++++ CMakeLists.txt
+@@ -153,7 +153,7 @@ else ()
+     -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -Wuninitialized
+   )
+ 
+-  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