mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
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>
37 lines
818 B
Bash
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
|
|
}
|