summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-04 01:01:50 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-04 01:02:12 +0100
commit95a575a2bd2d6b396d56e01776135f15c56c2104 (patch)
treeabef70dde8db5585f2f05e10b7fd42f10a3f20ca /sci-libs
parentdev-build/netsurf-buildsystem: drop 1.9-r2 (diff)
downloadgentoo-95a575a2bd2d6b396d56e01776135f15c56c2104.tar.gz
gentoo-95a575a2bd2d6b396d56e01776135f15c56c2104.tar.bz2
gentoo-95a575a2bd2d6b396d56e01776135f15c56c2104.zip
sci-libs/dcmtk: Apply musl-1.2.4 largefile workaround
Bug: https://bugs.gentoo.org/908398 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/dcmtk/dcmtk-3.6.7-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/dcmtk/dcmtk-3.6.7-r1.ebuild b/sci-libs/dcmtk/dcmtk-3.6.7-r1.ebuild
index 5cc0d99ccf7f..9a82a24e3064 100644
--- a/sci-libs/dcmtk/dcmtk-3.6.7-r1.ebuild
+++ b/sci-libs/dcmtk/dcmtk-3.6.7-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit flag-o-matic cmake
DESCRIPTION="The DICOM Toolkit"
HOMEPAGE="https://dicom.offis.de/dcmtk.php.en"
@@ -50,6 +50,9 @@ src_prepare() {
}
src_configure() {
+ # bug 908398
+ use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
local mycmakeargs=(
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
-DDCMTK_WITH_ICU=ON