Build was failing because inttypes.h did not provide a declaration for uint32_t
and friends
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39799
#
-# Copyright (C) 2010 OpenWrt.org
+# Copyright (C) 2010-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=cksfv
PKG_VERSION:=1.3.14
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://zakalwe.fi/~shd/foss/cksfv/files
--- /dev/null
+--- a/src/cksfv.h 2009-04-12 09:04:10.000000000 -0700
++++ b/src/cksfv.h 2014-03-06 14:18:21.020889903 -0800
+@@ -5,6 +5,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <inttypes.h>
+
+ #include "config.h"
+
+--- a/src/crc32.c 2009-04-12 09:04:10.000000000 -0700
++++ b/src/crc32.c 2014-03-06 14:44:20.836871963 -0800
+@@ -18,6 +18,7 @@
+
+ #include <unistd.h>
+ #include <errno.h>
++#include <inttypes.h>
+
+ #include "config.h"
+