summaryrefslogtreecommitdiff
path: root/dev-cpp/safeint
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-cpp/safeint
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-cpp/safeint')
-rw-r--r--dev-cpp/safeint/Manifest1
-rw-r--r--dev-cpp/safeint/files/safeint-3.0.28a-install-the-library.patch26
-rw-r--r--dev-cpp/safeint/files/safeint-3.0.28a-make-tests-optional.patch25
-rw-r--r--dev-cpp/safeint/files/safeint-3.0.28a-remove-broken-tests.patch41
-rw-r--r--dev-cpp/safeint/files/safeint-3.0.28a-strip-O3.patch28
-rw-r--r--dev-cpp/safeint/metadata.xml12
-rw-r--r--dev-cpp/safeint/safeint-3.0.28a.ebuild33
7 files changed, 0 insertions, 166 deletions
diff --git a/dev-cpp/safeint/Manifest b/dev-cpp/safeint/Manifest
deleted file mode 100644
index 114e55792421..000000000000
--- a/dev-cpp/safeint/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST safeint-3.0.28a.tar.gz 589772 BLAKE2B e3fb1f9f43034f86d044a25063fc0762ba73326ed2917a382e48b765d36d919397b97ca548901fa76d645a3b8c1408367ab92533d75a156ffcf8bf78554e7e12 SHA512 04f3d4202b7069f2970811311c422b48225466887768a1f1fcdc9417e2b6a1ebd64f83ee86abe25e667e7945b011b5ef7ce2bbc83ce8e518fc4bf609fa52d77c
diff --git a/dev-cpp/safeint/files/safeint-3.0.28a-install-the-library.patch b/dev-cpp/safeint/files/safeint-3.0.28a-install-the-library.patch
deleted file mode 100644
index 076f5ef3cbc4..000000000000
--- a/dev-cpp/safeint/files/safeint-3.0.28a-install-the-library.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Install the library.
-
-Bug: https://github.com/dcleblanc/SafeInt/issues/67
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -26,4 +26,14 @@ add_subdirectory(Test/ClangTest)
- add_subdirectory(Test/GccTest)
- add_subdirectory(Test/MsvcTest)
-
--enable_testing()
-\ No newline at end of file
-+enable_testing()
-+
-+add_library(SafeInt INTERFACE)
-+target_include_directories(SafeInt INTERFACE .)
-+
-+include(GNUInstallDirs)
-+install(
-+ FILES SafeInt.hpp safe_math.h safe_math_impl.h
-+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
-+)
-+install(FILES LICENSE DESTINATION "${CMAKE_INSTALL_DOCDIR}")
diff --git a/dev-cpp/safeint/files/safeint-3.0.28a-make-tests-optional.patch b/dev-cpp/safeint/files/safeint-3.0.28a-make-tests-optional.patch
deleted file mode 100644
index fb8fd28dfc86..000000000000
--- a/dev-cpp/safeint/files/safeint-3.0.28a-make-tests-optional.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Make tests optional.
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -22,11 +22,13 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
- # - Intel (not regularly tested)
- # other compilers on a best effort
-
--add_subdirectory(Test/ClangTest)
--add_subdirectory(Test/GccTest)
--add_subdirectory(Test/MsvcTest)
-+include(CTest)
-
--enable_testing()
-+if (BUILD_TESTING)
-+ add_subdirectory(Test/ClangTest)
-+ add_subdirectory(Test/GccTest)
-+ add_subdirectory(Test/MsvcTest)
-+endif()
-
- add_library(SafeInt INTERFACE)
- target_include_directories(SafeInt INTERFACE .)
diff --git a/dev-cpp/safeint/files/safeint-3.0.28a-remove-broken-tests.patch b/dev-cpp/safeint/files/safeint-3.0.28a-remove-broken-tests.patch
deleted file mode 100644
index 11ae15a0c76e..000000000000
--- a/dev-cpp/safeint/files/safeint-3.0.28a-remove-broken-tests.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Remove broken tests.
-
-Bug: https://github.com/dcleblanc/SafeInt/issues/55
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- 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
diff --git a/dev-cpp/safeint/files/safeint-3.0.28a-strip-O3.patch b/dev-cpp/safeint/files/safeint-3.0.28a-strip-O3.patch
deleted file mode 100644
index 610dac56b944..000000000000
--- a/dev-cpp/safeint/files/safeint-3.0.28a-strip-O3.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Strip `-O3`.
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/Test/ClangTest/CMakeLists.txt
-+++ b/Test/ClangTest/CMakeLists.txt
-@@ -26,7 +26,7 @@ else()
- set(CMAKE_CXX_COMPILER ${CLANG_PLUS_PLUS})
-
- # the standard level is already at C++11, which is what we need for runtime tests
-- add_compile_options(-O3 -ftrapv)
-+ add_compile_options(-ftrapv)
-
- # Note - the test matrix here is as follows:
- # int128 is available (best case)
---- a/Test/GccTest/CMakeLists.txt
-+++ b/Test/GccTest/CMakeLists.txt
-@@ -31,7 +31,7 @@ else()
- message(STATUS "g++ available, configuring g++ tests")
- set(CMAKE_CXX_COMPILER ${GCC_PLUS_PLUS})
- # the standard level is already at C++11, which is what we need for runtime tests
-- add_compile_options(-O3 -ftrapv)
-+ add_compile_options(-ftrapv)
-
- # Note - -fsanitize=undefined isn't currently working with g++ and cmake
- # if you go build from the old makefile in Test/GccTest, it does work
-
diff --git a/dev-cpp/safeint/metadata.xml b/dev-cpp/safeint/metadata.xml
deleted file mode 100644
index 1558bf4d008b..000000000000
--- a/dev-cpp/safeint/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>contact@paveloom.dev</email>
- <name>Pavel Sobolev</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/dcleblanc/SafeInt/issues</bugs-to>
- <remote-id type="github">dcleblanc/SafeInt</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-cpp/safeint/safeint-3.0.28a.ebuild b/dev-cpp/safeint/safeint-3.0.28a.ebuild
deleted file mode 100644
index 2f7f31d769ea..000000000000
--- a/dev-cpp/safeint/safeint-3.0.28a.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="A class library for C++ that manages integer overflows"
-HOMEPAGE="https://github.com/dcleblanc/SafeInt"
-SRC_URI="https://github.com/dcleblanc/SafeInt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-S="${WORKDIR}/SafeInt-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.0.28a-install-the-library.patch"
- "${FILESDIR}/${PN}-3.0.28a-make-tests-optional.patch"
- "${FILESDIR}/${PN}-3.0.28a-remove-broken-tests.patch"
- "${FILESDIR}/${PN}-3.0.28a-strip-O3.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
- )
-
- cmake_src_configure
-}