net-news/trn: doesn't build under gcc 14, so depend on gcc 13

This commit is contained in:
2024-12-04 18:13:33 +00:00
parent 03ba02ad5c
commit 5085e236a2
2 changed files with 9 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
BDEPEND=<sys-devel/gcc-14
DEFINED_PHASES=install prepare
DESCRIPTION=threaded news reader
EAPI=8
@@ -6,4 +7,4 @@ KEYWORDS=amd64 x86
LICENSE=MIT
SLOT=0
SRC_URI=https://github.com/arnoldrobbins/trn/archive/a7853e2a71996c93db86a14b41f086778449064e.tar.gz -> trn-4.0.tar.gz
_md5_=32b8d1725138783368aad2bcd7386081
_md5_=9e67252bfc9d64f814faf22a3206cbfd

View File

@@ -5,6 +5,9 @@ HOMEPAGE="https://github.com/arnoldrobbins/trn/"
GIT_COMMIT=a7853e2a71996c93db86a14b41f086778449064e
S=$WORKDIR/$PN-$GIT_COMMIT
SRC_URI="https://github.com/arnoldrobbins/$PN/archive/$GIT_COMMIT.tar.gz -> $P.tar.gz"
BDEPEND="<sys-devel/gcc-14"
CC=gcc-13
CXX=$CC
LICENSE="MIT"
SLOT="0"
@@ -22,10 +25,10 @@ src_prepare() {
-D acttimes='remote' \
-D bin='/usr/bin' \
-D binexp='/usr/bin' \
-D cc='gcc' \
-D cpprun='gcc -E' \
-D cppstdin='gcc -E' \
-D d_genauth='define' \
-D cc='gcc-13' \
-D cpprun='gcc-13 -E' \
-D cppstdin='gcc-13 -E' \
-D d_genauth='define' \
-D d_local='undef' \
-D extrainews='' \
-D filexp='/usr/lib/trn/filexp' \