The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mtd / 0003-serve_image-do-not-include-error.h.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/mtd/0003-serve_image-do-not-include-error.h.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/mtd/0003-serve_image-do-not-include-error.h.patch
new file mode 100644 (file)
index 0000000..1b5c8dc
--- /dev/null
@@ -0,0 +1,30 @@
+From 2734daedb65c9cc43c0d5247b580c599953102fe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
+Date: Fri, 24 Apr 2015 22:04:45 +0200
+Subject: [PATCH 3/4] serve_image: do not include error.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+serve_image does not use anything from it and it is not available with all
+C libraries.
+
+Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
+---
+ serve_image.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/serve_image.c b/serve_image.c
+index 38549a1..4f0e946 100644
+--- a/serve_image.c
++++ b/serve_image.c
+@@ -3,7 +3,6 @@
+
+ #include <time.h>
+ #include <errno.h>
+-#include <error.h>
+ #include <netdb.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+--
+2.3.6