# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

KEYWORDS="-* amd64 x86"
YEAR=2023
DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.105"

inherit dmd

PATCHES=(
	"${FILESDIR}/2.105-link-32-bit-shared-lib-with-ld.bfd.patch"
	# See https://github.com/dlang/phobos/pull/8820
	"${FILESDIR}/2.101-phobos-change-DMD_DIR-meaning.patch"
)