summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-03-29 08:08:50 +0200
committerJeroen Roovers <jer@gentoo.org>2016-03-29 08:11:06 +0200
commit18d2228849dd53655c9419a9b53bc2c8e397d9bb (patch)
treedfee650baaa65bbb10cf63a1f763bdbf4b54d036 /sys-boot
parentvirtual/ruby-ffi: drop ruby19 (diff)
downloadgentoo-18d2228849dd53655c9419a9b53bc2c8e397d9bb.tar.gz
gentoo-18d2228849dd53655c9419a9b53bc2c8e397d9bb.tar.bz2
gentoo-18d2228849dd53655c9419a9b53bc2c8e397d9bb.zip
sys-boot/palo: Update toolchain patch.
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/palo/files/palo-9999-toolchain.patch23
-rw-r--r--sys-boot/palo/palo-9999.ebuild2
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
}