Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/palo/, sys-boot/palo/files/
Date: Tue, 29 Mar 2016 06:11:15
Message-Id: 1459231866.18d2228849dd53655c9419a9b53bc2c8e397d9bb.jer@gentoo
1 commit: 18d2228849dd53655c9419a9b53bc2c8e397d9bb
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 29 06:08:50 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 06:11:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d22288
7
8 sys-boot/palo: Update toolchain patch.
9
10 Package-Manager: portage-2.2.28
11
12 sys-boot/palo/files/palo-9999-toolchain.patch | 23 +++++++++++++++++++++++
13 sys-boot/palo/palo-9999.ebuild | 2 +-
14 2 files changed, 24 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-boot/palo/files/palo-9999-toolchain.patch b/sys-boot/palo/files/palo-9999-toolchain.patch
17 new file mode 100644
18 index 0000000..12b9c5e
19 --- /dev/null
20 +++ b/sys-boot/palo/files/palo-9999-toolchain.patch
21 @@ -0,0 +1,23 @@
22 +--- a/palo/Makefile
23 ++++ b/palo/Makefile
24 +@@ -10,9 +10,9 @@
25 + OS := $(shell uname -s)
26 + CC?=cc
27 + ifeq ($(strip ${OS}),HP-UX)
28 +-CFLAGS=-g -O -I../include -I../lib -I$(PA)/include
29 ++CFLAGS=-O -I../include -I../lib -I$(PA)/include
30 + else
31 +-CFLAGS=-g -O -I../include -I../lib -D_FILE_OFFSET_BITS=64
32 ++CFLAGS=-O -I../include -I../lib -D_FILE_OFFSET_BITS=64
33 + endif
34 +
35 + ifneq ("$(wildcard /etc/debian_version)","")
36 +@@ -38,7 +38,7 @@
37 + $(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o
38 +
39 + palo.a: $(OFILES)
40 +- ar rv palo.a $?
41 ++ $(AR) rv palo.a $?
42 +
43 + mkbootable: $(OFILES2)
44 + $(CC) $(CFLAGS) $(LDFLAGS) -o mkbootable $(OFILES2)
45
46 diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild
47 index cb7b91a..b9aa701 100644
48 --- a/sys-boot/palo/palo-9999.ebuild
49 +++ b/sys-boot/palo/palo-9999.ebuild
50 @@ -15,7 +15,7 @@ SLOT="0"
51 KEYWORDS=""
52
53 src_prepare() {
54 - epatch "${FILESDIR}"/${PN}-1.95-toolchain.patch
55 + epatch "${FILESDIR}"/${PN}-9999-toolchain.patch
56 sed -i lib/common.h -e '/^#define PALOVERSION/{s|".*"|"'${PV}'"|g}' || die
57 }