commit: 31667413aada0ac96966086831d63c3b1f3f53d9 Author: Ian Jordan <immoloism <AT> gmail <DOT> com> AuthorDate: Thu Aug 21 12:35:32 2025 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Tue Aug 26 14:59:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31667413
sys-boot/palo: Enable -std=gnu17 Not a perfect fix but allows palo to compile with GCC15 until a better solution is found by patching ipl to use -std=gnu17 Agreed with Dilfridge that this is best method for now for if we switch HPPA stage3s to testing by default. Closes: https://bugs.gentoo.org/961813 Signed-off-by: Ian Jordan <immoloism <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43514 Closes: https://github.com/gentoo/gentoo/pull/43514 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> sys-boot/palo/files/palo-2.27-ipl-c17.patch | 11 +++++++++++ sys-boot/palo/palo-2.27.ebuild | 1 + sys-boot/palo/palo-9999.ebuild | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sys-boot/palo/files/palo-2.27-ipl-c17.patch b/sys-boot/palo/files/palo-2.27-ipl-c17.patch new file mode 100644 index 000000000000..8a4d7d2b23ba --- /dev/null +++ b/sys-boot/palo/files/palo-2.27-ipl-c17.patch @@ -0,0 +1,11 @@ +--- a/ipl/Makefile 2025-01-14 01:12:56.000000000 -0000 ++++ b/ipl/Makefile 2025-08-21 12:15:52.224216821 -0000 +@@ -39,7 +39,7 @@ + VPATH=../lib:. + + AFLAGS = -I../lib +-CFLAGS = -DIPL_LOADER -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall -fno-delete-null-pointer-checks -fno-builtin ++CFLAGS = -DIPL_LOADER -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall -fno-delete-null-pointer-checks -fno-builtin -std=gnu17 + LDFLAGS = -N --section-start .init=0x60000 -e '$$START$$' + + all: iplelf diff --git a/sys-boot/palo/palo-2.27.ebuild b/sys-boot/palo/palo-2.27.ebuild index ad262fba0253..03dc56755c99 100644 --- a/sys-boot/palo/palo-2.27.ebuild +++ b/sys-boot/palo/palo-2.27.ebuild @@ -20,6 +20,7 @@ SLOT="0" PATCHES=( "${FILESDIR}"/${PN}-2.00-toolchain.patch + "${FILESDIR}"/${PN}-2.27-ipl-c17.patch # bug 961813 ) src_compile() { diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild index 6eae2c2820e0..03dc56755c99 100644 --- a/sys-boot/palo/palo-9999.ebuild +++ b/sys-boot/palo/palo-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,6 +20,7 @@ SLOT="0" PATCHES=( "${FILESDIR}"/${PN}-2.00-toolchain.patch + "${FILESDIR}"/${PN}-2.27-ipl-c17.patch # bug 961813 ) src_compile() {
