Install this version:
emerge -a =net-print/brlaser-6-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-print/brlaser-6-r1
Or alternatively:
emerge --autounmask-write -a =net-print/brlaser-6-r1
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Brother laser printer driver"
HOMEPAGE="https://github.com/pdewacht/brlaser"
SRC_URI="https://github.com/pdewacht/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="net-print/cups"
RDEPEND="
${DEPEND}
app-text/ghostscript-gpl"
src_prepare() {
# Don't clobber toolchain defaults
sed -i -e '/-D_FORTIFY_SOURCE=2/d' CMakeLists.txt || die
cmake_src_prepare
}
net-print/cups
net-print/cups app-text/ghostscript-gpl