Install this version:
emerge -a =dev-cpp/safeint-3.0.28a
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/safeint-3.0.28a
Or alternatively:
emerge --autounmask-write -a =dev-cpp/safeint-3.0.28a
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.0.28a | 8 | ~amd64 | 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
}
Manage flags for this package:
euse -i <flag> -p dev-cpp/safeint |
euse -E <flag> -p dev-cpp/safeint |
euse -D <flag> -p dev-cpp/safeint
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | safeint-3.0.28a.tar.gz | 589772 bytes | https://github.com/dcleblanc/SafeInt/archive/refs/tags/3.0.28a.tar.gz |