mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: safeint: Update to 3.0.28.
* gnu/packages/cpp.scm (safeint): Update to 3.0.28.
This commit is contained in:
parent
bc2b5ecd7b
commit
6dbe4a87fc
3 changed files with 47 additions and 2 deletions
|
@ -2293,6 +2293,7 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/rw-igraph-0.10.patch \
|
%D%/packages/patches/rw-igraph-0.10.patch \
|
||||||
%D%/packages/patches/rxvt-unicode-fix-cursor-position.patch \
|
%D%/packages/patches/rxvt-unicode-fix-cursor-position.patch \
|
||||||
%D%/packages/patches/s7-flint-3.patch \
|
%D%/packages/patches/s7-flint-3.patch \
|
||||||
|
%D%/packages/patches/safeint-disable-tests.patch \
|
||||||
%D%/packages/patches/sage-safeguard-sage-getargspec-cython.patch \
|
%D%/packages/patches/sage-safeguard-sage-getargspec-cython.patch \
|
||||||
%D%/packages/patches/sajson-for-gemmi-numbers-as-strings.patch \
|
%D%/packages/patches/sajson-for-gemmi-numbers-as-strings.patch \
|
||||||
%D%/packages/patches/sajson-build-with-gcc10.patch \
|
%D%/packages/patches/sajson-build-with-gcc10.patch \
|
||||||
|
|
|
@ -3664,7 +3664,7 @@ getopt(), getopt_long() and getopt_long_only().")
|
||||||
(define-public safeint
|
(define-public safeint
|
||||||
(package
|
(package
|
||||||
(name "safeint")
|
(name "safeint")
|
||||||
(version "3.0.27")
|
(version "3.0.28")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -3673,7 +3673,9 @@ getopt(), getopt_long() and getopt_long_only().")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "01d2dpdhyw3lghmamknb6g39w2gg0sv53pgxlrs2la8h694z6x7s"))))
|
(base32 "0bgqvyz5zp4mqzkm9545r3564n52bcdnq8bjn6azhxdsmap26g56"))
|
||||||
|
(patches
|
||||||
|
(search-patches "safeint-disable-tests.patch"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
|
42
gnu/packages/patches/safeint-disable-tests.patch
Normal file
42
gnu/packages/patches/safeint-disable-tests.patch
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
---
|
||||||
|
Test/GccTest/CMakeLists.txt | 18 ------------------
|
||||||
|
1 file changed, 18 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Test/GccTest/CMakeLists.txt b/Test/GccTest/CMakeLists.txt
|
||||||
|
index 8a3bef4..9254d70 100644
|
||||||
|
--- a/Test/GccTest/CMakeLists.txt
|
||||||
|
+++ b/Test/GccTest/CMakeLists.txt
|
||||||
|
@@ -105,15 +105,6 @@ else()
|
||||||
|
|
||||||
|
target_compile_options(CompileTest_gcc PUBLIC -Wall)
|
||||||
|
|
||||||
|
- add_executable(CompileTest_gcc17
|
||||||
|
- ../CompileTest.cpp
|
||||||
|
- ../ConstExpr.cpp
|
||||||
|
- ../CleanCompile.cpp
|
||||||
|
- ../../SafeInt.hpp
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
- target_compile_options(CompileTest_gcc17 PUBLIC -Wall -std=c++17)
|
||||||
|
-
|
||||||
|
add_executable(CompileTest_gcc14
|
||||||
|
../CompileTest.cpp
|
||||||
|
../ConstExpr.cpp
|
||||||
|
@@ -132,15 +123,6 @@ else()
|
||||||
|
|
||||||
|
target_compile_options(CompileTest_gcc14_NoEH PUBLIC -Wall -std=c++14 -fno-exceptions)
|
||||||
|
|
||||||
|
- add_executable(CompileTest_gcc98
|
||||||
|
- ../CompileTest.cpp
|
||||||
|
- ../ConstExpr.cpp
|
||||||
|
- ../CleanCompile.cpp
|
||||||
|
- ../../SafeInt.hpp
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
- target_compile_options(CompileTest_gcc98 PUBLIC -D SAFEINT_USE_CPLUSCPLUS_98 -Wall -std=c++98 -fno-exceptions)
|
||||||
|
-
|
||||||
|
add_executable(safe_math_test_gcc
|
||||||
|
../c_safe_math/safe_math_test.c
|
||||||
|
../c_safe_math/safe_math_test.h
|
||||||
|
--
|
||||||
|
2.50.1
|
Loading…
Add table
Add a link
Reference in a new issue