Description: Fix kFreeBSD build
 This patch defines ENODATA which does not exist on kFreeBSD.
Author: Marc Dietrich <marvin24@gmx.de>

Index: cbootimage-1.4/src/cbootimage.h
===================================================================
--- cbootimage-1.4.orig/src/cbootimage.h	2014-08-25 13:30:17.551310157 +0200
+++ cbootimage-1.4/src/cbootimage.h	2014-08-25 13:32:12.219870743 +0200
@@ -31,6 +31,11 @@
 #include <errno.h>
 #include <math.h>
 
+/* FreeBSD does not define ENODATA */
+#ifndef ENODATA
+#define ENODATA ENOATTR
+#endif
+
 #define NVBOOT_AES_BLOCK_SIZE_LOG2 4
 #define MAX_BUFFER 200
 #define MAX_STR_LEN	20
