From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/openntpd/patches/patch-defines_h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/openntpd/patches/patch-defines_h (limited to 'package/openntpd/patches/patch-defines_h') diff --git a/package/openntpd/patches/patch-defines_h b/package/openntpd/patches/patch-defines_h new file mode 100644 index 000000000..9e2b35bf1 --- /dev/null +++ b/package/openntpd/patches/patch-defines_h @@ -0,0 +1,17 @@ +$Id$ + + part of the "adjtime-linux" patch + +--- openntpd-3.9p1.orig/defines.h 2006-05-14 05:29:21.000000000 +0000 ++++ openntpd-3.9p1/defines.h 2007-01-28 20:49:48.000000000 +0000 +@@ -20,6 +20,10 @@ + # define setproctitle(x) + #endif + ++#ifdef USE_ADJTIMEX ++# define adjtime(a,b) (_compat_adjtime((a),(b))) ++#endif ++ + #if !defined(SA_LEN) + # if defined(HAVE_STRUCT_SOCKADDR_SA_LEN) + # define SA_LEN(x) ((x)->sa_len) -- cgit v1.2.3