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 / bsdiff / 0001-Add-missing-header-for-u_char.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/bsdiff/0001-Add-missing-header-for-u_char.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/bsdiff/0001-Add-missing-header-for-u_char.patch
new file mode 100644 (file)
index 0000000..56affb4
--- /dev/null
@@ -0,0 +1,17 @@
+bspatch: Fix missing header <sys/types.h> for u_char
+
+Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/
+
+Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
+
+diff -purN bsdiff-4.3.orig/bspatch.c bsdiff-4.3/bspatch.c
+--- bsdiff-4.3.orig/bspatch.c  2015-04-30 13:47:26.485903359 +0200
++++ bsdiff-4.3/bspatch.c       2015-04-30 13:48:14.808908672 +0200
+@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
+ #include <err.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <sys/types.h>
+
+ static off_t offtin(u_char *buf)
+ {