commit: 7b2881a603edbeed8da069fe6279b77d029a930b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 8 05:35:48 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 8 05:40:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2881a6
sys-boot/palo: add 2.28 Bug: https://bugs.gentoo.org/961813 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-boot/palo/Manifest | 1 + sys-boot/palo/files/palo-2.28-toolchain.patch | 22 ++++++++++++++++++++++ .../palo/{palo-9999.ebuild => palo-2.28.ebuild} | 4 ++-- sys-boot/palo/palo-9999.ebuild | 4 ++-- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest index f45ea30c68b7..a4733866eec9 100644 --- a/sys-boot/palo/Manifest +++ b/sys-boot/palo/Manifest @@ -1,2 +1,3 @@ DIST palo-2.24.tar.gz 132587 BLAKE2B a24bd6b70cf395b1254c280821f92eb00e02cb2dc0cc142e7bb706361c86a2fd45424f832d6c3ff383f02bde3eccc6e250a7ee279af3977b5bc2b2576e6ac9d0 SHA512 e520eff46798b7b94eed081c6310b1dfda07918e5f31ce140095b6742d81b85e62a657aa3761f9a3819ad7c8897d548af8fdd85b43997386c2ec6ace6fbf1b2e DIST palo-2.27.tar.gz 133284 BLAKE2B d30677ebe1945a4ddb0397326d7ecd3c5795a8affd0e8438e8c8814c11726f4bc5873afdfdc27bf32b416cd3c6d5471fca548f6ec8a12d40d1d1d6f1fa0d1fe7 SHA512 3f461d3df3a8cc22c9d07346df9b941c53fdcaf14962cd8f7e5d890b4e9ede7503daf501116e0ec30a1688bfbd5ef24614b84e863b7b07f7a32a1d604d1e7a55 +DIST palo-2.28.tar.gz 133331 BLAKE2B 4e67528156813191cc334bc9e461f9741eee93ce2a9cf0edc1271c26f8515b7a1d3657478e6476d2d910f2e8a0e042583159e01c106b3eb034d944677f2296d5 SHA512 27188bbe654fa8c2f5ed30b9927db7957dfae450f1df5dcc7ff306520c4092c225c233cefeac5d9813663490a3ae703907ad92d3f12d87f853587ef7bbba5f50 diff --git a/sys-boot/palo/files/palo-2.28-toolchain.patch b/sys-boot/palo/files/palo-2.28-toolchain.patch new file mode 100644 index 000000000000..6fbb9e4e3d78 --- /dev/null +++ b/sys-boot/palo/files/palo-2.28-toolchain.patch @@ -0,0 +1,22 @@ +--- a/palo/Makefile ++++ b/palo/Makefile +@@ -10,9 +10,9 @@ INCLUDES=common.h load.h palo.h + OS := $(shell uname -s) + CC?=cc + ifeq ($(strip ${OS}),HP-UX) +-CFLAGS=-g -O -I../include -I../lib -I$(PA)/include ++CFLAGS=-O -I../include -I../lib -I$(PA)/include + else +-CFLAGS=-g -O -I../include -I../lib -D_FILE_OFFSET_BITS=64 ++CFLAGS=-O -I../include -I../lib -D_FILE_OFFSET_BITS=64 + CFLAGS+=-Wno-old-style-definition + endif + +@@ -23,7 +23,6 @@ BLDINFO := $(shell echo https://parisc.docs.kernel.org - `LC_TIME=C date`) + endif + + # LDFLAGS=-Wl,-Bstatic +-LDFLAGS= + + OFILES2=mkbootable.o elf64.o load.o paloio.o elf32.o error.o gzip.o + diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-2.28.ebuild similarity index 91% copy from sys-boot/palo/palo-9999.ebuild copy to sys-boot/palo/palo-2.28.ebuild index 03dc56755c99..ea53a5f9f8a1 100644 --- a/sys-boot/palo/palo-9999.ebuild +++ b/sys-boot/palo/palo-2.28.ebuild @@ -7,6 +7,7 @@ inherit toolchain-funcs DESCRIPTION="PALO: PArisc Linux Loader" HOMEPAGE="https://parisc.wiki.kernel.org/ https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git/" + if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" inherit git-r3 @@ -19,8 +20,7 @@ LICENSE="GPL-2" SLOT="0" PATCHES=( - "${FILESDIR}"/${PN}-2.00-toolchain.patch - "${FILESDIR}"/${PN}-2.27-ipl-c17.patch # bug 961813 + "${FILESDIR}"/${PN}-2.28-toolchain.patch ) src_compile() { diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild index 03dc56755c99..ea53a5f9f8a1 100644 --- a/sys-boot/palo/palo-9999.ebuild +++ b/sys-boot/palo/palo-9999.ebuild @@ -7,6 +7,7 @@ inherit toolchain-funcs DESCRIPTION="PALO: PArisc Linux Loader" HOMEPAGE="https://parisc.wiki.kernel.org/ https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git/" + if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" inherit git-r3 @@ -19,8 +20,7 @@ LICENSE="GPL-2" SLOT="0" PATCHES=( - "${FILESDIR}"/${PN}-2.00-toolchain.patch - "${FILESDIR}"/${PN}-2.27-ipl-c17.patch # bug 961813 + "${FILESDIR}"/${PN}-2.28-toolchain.patch ) src_compile() {
