diff options
-rw-r--r-- | sys-boot/palo/files/palo-9999-toolchain.patch | 23 | ||||
-rw-r--r-- | sys-boot/palo/palo-9999.ebuild | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/sys-boot/palo/files/palo-9999-toolchain.patch b/sys-boot/palo/files/palo-9999-toolchain.patch new file mode 100644 index 000000000000..12b9c5e73b6e --- /dev/null +++ b/sys-boot/palo/files/palo-9999-toolchain.patch @@ -0,0 +1,23 @@ +--- a/palo/Makefile ++++ b/palo/Makefile +@@ -10,9 +10,9 @@ + 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 + endif + + ifneq ("$(wildcard /etc/debian_version)","") +@@ -38,7 +38,7 @@ + $(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o + + palo.a: $(OFILES) +- ar rv palo.a $? ++ $(AR) rv palo.a $? + + mkbootable: $(OFILES2) + $(CC) $(CFLAGS) $(LDFLAGS) -o mkbootable $(OFILES2) diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild index cb7b91ad9293..b9aa701403b4 100644 --- a/sys-boot/palo/palo-9999.ebuild +++ b/sys-boot/palo/palo-9999.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="" src_prepare() { - epatch "${FILESDIR}"/${PN}-1.95-toolchain.patch + epatch "${FILESDIR}"/${PN}-9999-toolchain.patch sed -i lib/common.h -e '/^#define PALOVERSION/{s|".*"|"'${PV}'"|g}' || die } |