From 7fec2f6005c9a5a6bed4380ec8328be8bdec012c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 30 Dec 2007 15:41:40 +0000 Subject: [PATCH] fix miredo compile SVN-Revision: 10054 --- net/miredo/patches/100-uclibc.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/miredo/patches/100-uclibc.patch diff --git a/net/miredo/patches/100-uclibc.patch b/net/miredo/patches/100-uclibc.patch new file mode 100644 index 000000000..b16920210 --- /dev/null +++ b/net/miredo/patches/100-uclibc.patch @@ -0,0 +1,13 @@ +Index: miredo-1.0.0/libteredo/maintain.c +=================================================================== +--- miredo-1.0.0.orig/libteredo/maintain.c 2007-12-30 16:39:41.032377076 +0100 ++++ miredo-1.0.0/libteredo/maintain.c 2007-12-30 16:39:54.569148495 +0100 +@@ -62,7 +62,7 @@ + #define PROBE_SYMMETRIC 3 + #define NOT_RUNNING (-1) + +-#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0) ++#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0) && !defined(__UCLIBC__) + static inline void gettime (struct timespec *now) + { + if (clock_gettime (CLOCK_MONOTONIC, now)) -- 2.30.2