packages: ntp/ntp-nano.patch (NEW) - build fix, taken from gentoo

hawk hawk at pld-linux.org
Sat Aug 8 18:14:38 CEST 2009


Author: hawk                         Date: Sat Aug  8 16:14:38 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build fix, taken from gentoo

---- Files affected:
packages/ntp:
   ntp-nano.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ntp/ntp-nano.patch
diff -u /dev/null packages/ntp/ntp-nano.patch:1.1
--- /dev/null	Sat Aug  8 18:14:38 2009
+++ packages/ntp/ntp-nano.patch	Sat Aug  8 18:14:33 2009
@@ -0,0 +1,16 @@
+--- ntp-4.2.4p7/include/ntp_syscall.h
++++ ntp-4.2.4p7/include/ntp_syscall.h
+@@ -14,5 +14,13 @@
+ # include <sys/timex.h>
+ #endif
+ 
++#if defined(ADJ_NANO) && !defined(MOD_NANO)
++#define MOD_NANO ADJ_NANO
++#endif
++
++#if defined(ADJ_TAI) && !defined(MOD_TAI)
++#define MOD_TAI ADJ_TAI
++#endif
++
+ #ifndef NTP_SYSCALLS_LIBC
+ #ifdef NTP_SYSCALLS_STD
================================================================


More information about the pld-cvs-commit mailing list