commit:     18d2228849dd53655c9419a9b53bc2c8e397d9bb
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 29 06:08:50 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 06:11:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d22288

sys-boot/palo: Update toolchain patch.

Package-Manager: portage-2.2.28

 sys-boot/palo/files/palo-9999-toolchain.patch | 23 +++++++++++++++++++++++
 sys-boot/palo/palo-9999.ebuild                |  2 +-
 2 files changed, 24 insertions(+), 1 deletion(-)

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 0000000..12b9c5e
--- /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 cb7b91a..b9aa701 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
 }
 

Reply via email to