diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2022-11-29 19:58:53 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-06 09:23:09 +0000 |
commit | db259dcd0de3671f15a6b2be6d3d4b07599e567d (patch) | |
tree | 01b9a3da4423ae54b7f1a24c98dc7e35acd1d474 /net-irc/dccserver/dccserver-0.5-r2.ebuild | |
parent | net-ftp/atftp: does not run with CFLAGS=-lto (diff) | |
download | gentoo-db259dcd0de3671f15a6b2be6d3d4b07599e567d.tar.gz gentoo-db259dcd0de3671f15a6b2be6d3d4b07599e567d.tar.bz2 gentoo-db259dcd0de3671f15a6b2be6d3d4b07599e567d.zip |
net-irc/dccserver: fix build for clang16
Closes: https://bugs.gentoo.org/875026
Closes: https://bugs.gentoo.org/861377
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/28475
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/dccserver/dccserver-0.5-r2.ebuild')
-rw-r--r-- | net-irc/dccserver/dccserver-0.5-r2.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-irc/dccserver/dccserver-0.5-r2.ebuild b/net-irc/dccserver/dccserver-0.5-r2.ebuild new file mode 100644 index 000000000000..1399170485f3 --- /dev/null +++ b/net-irc/dccserver/dccserver-0.5-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Linux implementation of the mirc dccserver command" +HOMEPAGE="https://www.nih.at/dccserver/" +SRC_URI="https://www.nih.at/dccserver/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" + +RDEPEND="dev-libs/libbsd" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-include-bsd-string-header.patch" ) + +src_prepare() { + default + + # Respect AR + sed -i -e "s/AR = /AR ?= /" lib/Makefile.in || die +} + +src_compile() { + AR="$(tc-getAR)" default +} |