summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-14 17:53:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-14 17:53:03 +0100
commitc6d7c45aeb5f365a69d93f01a0365edc24db67ce (patch)
tree87f8c5276ad303f62e41e310a864514c2c465abc
parent37bbed9c2b33d657f47754c6ba0aa1d9a7af3fdd (diff)
fix compile for eglibc
-rw-r--r--package/rdate/Makefile2
-rw-r--r--package/rdate/patches/patch-rdate_c10
2 files changed, 11 insertions, 1 deletions
diff --git a/package/rdate/Makefile b/package/rdate/Makefile
index 619b5ad6a..1dd8d0222 100644
--- a/package/rdate/Makefile
+++ b/package/rdate/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= rdate
PKG_VERSION:= 20070817
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 9a6489d7de4311678a3fab001bb503df
PKG_DESCR:= A small rdate and NTP client
PKG_SECTION:= ntp
diff --git a/package/rdate/patches/patch-rdate_c b/package/rdate/patches/patch-rdate_c
new file mode 100644
index 000000000..f560ca707
--- /dev/null
+++ b/package/rdate/patches/patch-rdate_c
@@ -0,0 +1,10 @@
+--- rdate.orig/rdate.c 2007-08-16 12:38:52.000000000 +0200
++++ rdate/rdate.c 2014-01-14 16:53:03.000000000 +0100
+@@ -45,6 +45,7 @@
+ #include <sys/socket.h>
+ #include <sys/time.h>
+
++#include <stdint.h>
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <err.h>