Skip to contentSkip to conversation

kexec-tools: update kexec-tools-2-klibc.patch for latest klibc/kernel

PATCH In review Martin Jansa 2 participants 2 messages May 3, 2010 – May 4, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec-tools: update kexec-tools-2-klibc.patch for latest klibc/kernel

* not sure if it's changed in latest kernel I use (2.6.34-rc6) or newest klibc added today (1.5.18)
* just in case someone else hit this too (haven't tried if it works with older kernel/klibc)

---
 .../kexec-tools/files/kexec-tools-2-klibc.patch    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/kexec-tools/files/kexec-tools-2-klibc.patch +2 -1
index 2008829..4f8e678 100644
@@ -16,12 +16,13 @@ Index: kexec-tools-2.0.1/kexec/ifdown.c
 ===================================================================
 --- kexec-tools-2.0.1.orig/kexec/ifdown.c	2009-09-24 14:15:34.025828340 +0100
 +++ kexec-tools-2.0.1/kexec/ifdown.c	2009-09-24 14:15:47.014827381 +0100
-@@ -14,7 +14,7 @@
+@@ -14,7 +14,8 @@
  #include <sys/ioctl.h>
  #include <sys/socket.h>
  #include <sys/time.h>
 -#include <sys/errno.h>
 +#include <errno.h>
++#include <linux/sockios.h>
 
  #include <net/if.h>
  #include <netinet/in.h>
Signature · 1 line
1.7.0.4