gentoo-ebuilds/net-news/yydecode/yydecode-0.2.10-r4.ebuild
Alexey Sokolov 73452e0414
net-news/yydecode: fix build with gcc 15
Closes: https://bugs.gentoo.org/944985
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/41802
Closes: https://github.com/gentoo/gentoo/pull/41802
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-28 00:01:37 +01:00

37 lines
818 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="A decoder for yENC format, popular on Usenet"
HOMEPAGE="https://yydecode.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/yydecode/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
PATCHES=(
"${FILESDIR}"/${PN}-0.2.10-fix-strcmp-not-found.patch
"${FILESDIR}"/${PN}-0.2.10-gcc15.patch
)
src_prepare() {
default
# https://bugs.gentoo.org/277307
sed -e "s/t3.sh//" -e "s/t7.sh//" -i checks/Makefile.in checks/Makefile.am || die
eautoreconf
}
src_configure() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/898078
#
# Upstream has been dead since 2003. No bug reported.
filter-lto
default
}