~ruther/guix-local

6dbe4a87fc1a2ae91459205ea91a1ac293bb44f5 — Nicolas Graves 10 months ago bc2b5ec
gnu: safeint: Update to 3.0.28.

* gnu/packages/cpp.scm (safeint): Update to 3.0.28.
3 files changed, 47 insertions(+), 2 deletions(-)

M gnu/local.mk
M gnu/packages/cpp.scm
A gnu/packages/patches/safeint-disable-tests.patch
M gnu/local.mk => gnu/local.mk +1 -0
@@ 2293,6 2293,7 @@ dist_patch_DATA =						\
  %D%/packages/patches/rw-igraph-0.10.patch			\
  %D%/packages/patches/rxvt-unicode-fix-cursor-position.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/sajson-for-gemmi-numbers-as-strings.patch	\
  %D%/packages/patches/sajson-build-with-gcc10.patch		\

M gnu/packages/cpp.scm => gnu/packages/cpp.scm +4 -2
@@ 3664,7 3664,7 @@ getopt(), getopt_long() and getopt_long_only().")
(define-public safeint
  (package
    (name "safeint")
    (version "3.0.27")
    (version "3.0.28")
    (source
     (origin
       (method git-fetch)


@@ 3673,7 3673,9 @@ getopt(), getopt_long() and getopt_long_only().")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "01d2dpdhyw3lghmamknb6g39w2gg0sv53pgxlrs2la8h694z6x7s"))))
        (base32 "0bgqvyz5zp4mqzkm9545r3564n52bcdnq8bjn6azhxdsmap26g56"))
       (patches
        (search-patches "safeint-disable-tests.patch"))))
    (build-system cmake-build-system)
    (arguments
     (list

A gnu/packages/patches/safeint-disable-tests.patch => gnu/packages/patches/safeint-disable-tests.patch +42 -0
@@ 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