Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/yaboot/files/
Date: Wed, 16 Jan 2019 07:15:50
Message-Id: 1547622921.102e553b6f9625e8dd1665296671ac9e8b603067.slyfox@gentoo
1 commit: 102e553b6f9625e8dd1665296671ac9e8b603067
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 07:12:12 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 16 07:15:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102e553b
7
8 sys-boot/yaboot: make patches appliable with 'patch -p1'
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 sys-boot/yaboot/files/chrpfix.patch | 4 ++--
13 sys-boot/yaboot/files/new-ofpath-devspec.patch | 4 ++--
14 sys-boot/yaboot/files/yaboot-stubfuncs.patch | 8 ++++----
15 3 files changed, 8 insertions(+), 8 deletions(-)
16
17 diff --git a/sys-boot/yaboot/files/chrpfix.patch b/sys-boot/yaboot/files/chrpfix.patch
18 index e64369ba899..59ea7a07263 100644
19 --- a/sys-boot/yaboot/files/chrpfix.patch
20 +++ b/sys-boot/yaboot/files/chrpfix.patch
21 @@ -1,5 +1,5 @@
22 ---- Makefile.orig 2004-03-22 12:04:32.056149336 -0600
23 -+++ Makefile 2004-03-22 12:05:51.824138328 -0600
24 +--- a/Makefile.orig 2004-03-22 12:04:32.056149336 -0600
25 ++++ b/Makefile 2004-03-22 12:05:51.824138328 -0600
26 @@ -103,9 +103,11 @@
27
28 all: yaboot addnote mkofboot
29
30 diff --git a/sys-boot/yaboot/files/new-ofpath-devspec.patch b/sys-boot/yaboot/files/new-ofpath-devspec.patch
31 index ac03c15d8dd..e9ad749d8f0 100644
32 --- a/sys-boot/yaboot/files/new-ofpath-devspec.patch
33 +++ b/sys-boot/yaboot/files/new-ofpath-devspec.patch
34 @@ -1,5 +1,5 @@
35 ---- ybin/ofpath.bak 2012-05-09 12:24:51.709911981 -0400
36 -+++ ybin/ofpath 2012-05-09 12:32:19.661560544 -0400
37 +--- a/ybin/ofpath.bak 2012-05-09 12:24:51.709911981 -0400
38 ++++ b/ybin/ofpath 2012-05-09 12:32:19.661560544 -0400
39 @@ -85,11 +85,20 @@
40 [ "$DEBUG" = 1 ] && echo "Devpath is: $DEVPATH"
41
42
43 diff --git a/sys-boot/yaboot/files/yaboot-stubfuncs.patch b/sys-boot/yaboot/files/yaboot-stubfuncs.patch
44 index 8ae522b7d4e..ba6fcc7b360 100644
45 --- a/sys-boot/yaboot/files/yaboot-stubfuncs.patch
46 +++ b/sys-boot/yaboot/files/yaboot-stubfuncs.patch
47 @@ -1,7 +1,7 @@
48 Stub out some functions that are not provided (and unneeded)
49
50 ---- lib/malloc.c
51 -+++ lib/malloc.c
52 +--- a/lib/malloc.c
53 ++++ b/lib/malloc.c
54 @@ -64,6 +64,15 @@ void *malloc (unsigned int size)
55 return caddr;
56 }
57 @@ -18,8 +18,8 @@ Stub out some functions that are not provided (and unneeded)
58 /* Do not fall back to the malloc above as posix_memalign is needed by
59 * external libraries not yaboot */
60 int posix_memalign(void **memptr, size_t alignment, size_t size)
61 ---- lib/nonstd.c
62 -+++ lib/nonstd.c
63 +--- a/lib/nonstd.c
64 ++++ b/lib/nonstd.c
65 @@ -65,3 +65,208 @@
66 {
67 return NULL;