commit:     102e553b6f9625e8dd1665296671ac9e8b603067
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 07:12:12 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jan 16 07:15:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102e553b

sys-boot/yaboot: make patches appliable with 'patch -p1'

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-boot/yaboot/files/chrpfix.patch            | 4 ++--
 sys-boot/yaboot/files/new-ofpath-devspec.patch | 4 ++--
 sys-boot/yaboot/files/yaboot-stubfuncs.patch   | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-boot/yaboot/files/chrpfix.patch 
b/sys-boot/yaboot/files/chrpfix.patch
index e64369ba899..59ea7a07263 100644
--- a/sys-boot/yaboot/files/chrpfix.patch
+++ b/sys-boot/yaboot/files/chrpfix.patch
@@ -1,5 +1,5 @@
---- Makefile.orig      2004-03-22 12:04:32.056149336 -0600
-+++ Makefile   2004-03-22 12:05:51.824138328 -0600
+--- a/Makefile.orig    2004-03-22 12:04:32.056149336 -0600
++++ b/Makefile 2004-03-22 12:05:51.824138328 -0600
 @@ -103,9 +103,11 @@
  
  all: yaboot addnote mkofboot

diff --git a/sys-boot/yaboot/files/new-ofpath-devspec.patch 
b/sys-boot/yaboot/files/new-ofpath-devspec.patch
index ac03c15d8dd..e9ad749d8f0 100644
--- a/sys-boot/yaboot/files/new-ofpath-devspec.patch
+++ b/sys-boot/yaboot/files/new-ofpath-devspec.patch
@@ -1,5 +1,5 @@
---- ybin/ofpath.bak    2012-05-09 12:24:51.709911981 -0400
-+++ ybin/ofpath        2012-05-09 12:32:19.661560544 -0400
+--- a/ybin/ofpath.bak  2012-05-09 12:24:51.709911981 -0400
++++ b/ybin/ofpath      2012-05-09 12:32:19.661560544 -0400
 @@ -85,11 +85,20 @@
  [ "$DEBUG" = 1 ] && echo "Devpath is: $DEVPATH"
  

diff --git a/sys-boot/yaboot/files/yaboot-stubfuncs.patch 
b/sys-boot/yaboot/files/yaboot-stubfuncs.patch
index 8ae522b7d4e..ba6fcc7b360 100644
--- a/sys-boot/yaboot/files/yaboot-stubfuncs.patch
+++ b/sys-boot/yaboot/files/yaboot-stubfuncs.patch
@@ -1,7 +1,7 @@
 Stub out some functions that are not provided (and unneeded)
 
---- lib/malloc.c
-+++ lib/malloc.c
+--- a/lib/malloc.c
++++ b/lib/malloc.c
 @@ -64,6 +64,15 @@ void *malloc (unsigned int size)
      return caddr;
  }
@@ -18,8 +18,8 @@ Stub out some functions that are not provided (and unneeded)
  /* Do not fall back to the malloc above as posix_memalign is needed by
   * external libraries not yaboot */
  int posix_memalign(void **memptr, size_t alignment, size_t size)
---- lib/nonstd.c
-+++ lib/nonstd.c
+--- a/lib/nonstd.c
++++ b/lib/nonstd.c
 @@ -65,3 +65,208 @@
  {
        return NULL;

Reply via email to