CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: christos Date: Fri May 29 11:01:53 UTC 2020 Modified Files: src/external/bsd/ntp/include: config.h Log Message: fix WORDS_BIGENDIAN To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.25 src/external/bsd/ntp/include/config.h:1.26 --- src/external/bsd/ntp/include/config.h:1.25 Fri May 29 06:50:36 2020 +++ src/external/bsd/ntp/include/config.h Fri May 29 07:01:53 2020 @@ -1687,6 +1687,7 @@ typedef unsigned int uintptr_t; #endif #ifndef __NetBSD__ + /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD @@ -1698,6 +1699,12 @@ typedef unsigned int uintptr_t; /* # undef WORDS_BIGENDIAN */ # endif #endif + +#else /* __NetBSD */ +# include +# if _BYTE_ORDER == _BIG_ENDIAN +# define WORDS_BIGENDIAN 1 +# endif #endif /* routine worker child proc uses to exit. */
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: christos Date: Fri May 29 10:50:36 UTC 2020 Modified Files: src/external/bsd/ntp/include: config.h Log Message: Fix incorrect merge. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.24 src/external/bsd/ntp/include/config.h:1.25 --- src/external/bsd/ntp/include/config.h:1.24 Mon May 25 16:47:37 2020 +++ src/external/bsd/ntp/include/config.h Fri May 29 06:50:36 2020 @@ -1560,7 +1560,11 @@ #define SIZEOF_LONG_LONG 8 /* The size of `pthread_t', as computed by sizeof. */ +#ifdef _LP64 #define SIZEOF_PTHREAD_T 8 +#else +#define SIZEOF_PTHREAD_T 4 +#endif /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: christos Date: Mon Apr 9 19:33:14 UTC 2018 Modified Files: src/external/bsd/ntp/include: config.h Log Message: sun2 does not have stdatomic.h To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.20 src/external/bsd/ntp/include/config.h:1.21 --- src/external/bsd/ntp/include/config.h:1.20 Fri Apr 6 20:19:54 2018 +++ src/external/bsd/ntp/include/config.h Mon Apr 9 15:33:14 2018 @@ -839,8 +839,11 @@ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 +/* sun2 does not have atomics */ +#ifndef __mc68010__ /* Define to 1 if you have the header file. */ #define HAVE_STDATOMIC_H 1 +#endif /* Define to 1 if stdbool.h conforms to C99. */ #define HAVE_STDBOOL_H 1
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: christos Date: Thu Mar 31 22:49:15 UTC 2016 Modified Files: src/external/bsd/ntp/include: config.h Log Message: bump stack a little To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.14 src/external/bsd/ntp/include/config.h:1.15 --- src/external/bsd/ntp/include/config.h:1.14 Fri Jan 8 16:36:52 2016 +++ src/external/bsd/ntp/include/config.h Thu Mar 31 18:49:14 2016 @@ -289,7 +289,7 @@ #define DFLT_RLIMIT_MEMLOCK 32 /* Default number of 4k pages for RLIMIT_STACK */ -#define DFLT_RLIMIT_STACK 50 +#define DFLT_RLIMIT_STACK 64 /* Directory separator character, usually / or \\ */ #define DIR_SEP '/'
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: christos Date: Fri Dec 19 20:46:47 UTC 2014 Modified Files: src/external/bsd/ntp/include: config.h Log Message: No, bash is not the posix shell. Why do you need the shell anyway? To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.9 src/external/bsd/ntp/include/config.h:1.10 --- src/external/bsd/ntp/include/config.h:1.9 Fri Dec 19 15:43:20 2014 +++ src/external/bsd/ntp/include/config.h Fri Dec 19 15:46:47 2014 @@ -1443,7 +1443,7 @@ #define PERLLIBDIR /usr/local/share/ntp/lib /* define to a working POSIX compliant shell */ -#define POSIX_SHELL /usr/pkg/bin/bash +#define POSIX_SHELL /bin/sh /* PARSE kernel PLL PPS support */ /* #undef PPS_SYNC */
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: kardel Date: Sun Jan 5 15:39:13 UTC 2014 Modified Files: src/external/bsd/ntp/include: config.h Log Message: - enable the rest of the PARSE clocks (missed config option when merging) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.7 src/external/bsd/ntp/include/config.h:1.8 --- src/external/bsd/ntp/include/config.h:1.7 Sun Jan 5 15:13:36 2014 +++ src/external/bsd/ntp/include/config.h Sun Jan 5 15:39:13 2014 @@ -38,13 +38,13 @@ #define CLOCK_CHU 1 /* Diems Computime Radio Clock? */ -/* #undef CLOCK_COMPUTIME */ +#define CLOCK_COMPUTIME 1 /* Datum Programmable Time System? */ #define CLOCK_DATUM 1 /* ELV/DCF7000 clock? */ -/* #undef CLOCK_DCF7000 */ +#define CLOCK_DCF7000 1 /* Dumb generic hh:mm:ss local clock? */ #define CLOCK_DUMBCLOCK 1 @@ -59,7 +59,7 @@ #define CLOCK_HEATH 1 /* HOPF 6021 clock? */ -/* #undef CLOCK_HOPF6021 */ +#define CLOCK_HOPF6021 1 /* HOPF PCI clock device? */ #define CLOCK_HOPF_PCI 1 @@ -86,7 +86,7 @@ #define CLOCK_LOCAL 1 /* Meinberg clocks */ -/* #undef CLOCK_MEINBERG */ +#define CLOCK_MEINBERG 1 /* Magnavox MX4200 GPS receiver */ /* #undef CLOCK_MX4200 */ @@ -116,19 +116,19 @@ #define CLOCK_PST 1 /* DCF77 raw time code */ -/* #undef CLOCK_RAWDCF */ +#define CLOCK_RAWDCF 1 /* RCC 8000 clock */ -/* #undef CLOCK_RCC8000 */ +#define CLOCK_RCC8000 1 /* RIPE NCC Trimble clock */ /* #undef CLOCK_RIPENCC */ /* Schmid DCF77 clock */ -/* #undef CLOCK_SCHMID */ +#define CLOCK_SCHMID 1 /* SEL240X protocol */ -/* #undef CLOCK_SEL240X */ +#define CLOCK_SEL240X 1 /* clock thru shared memory */ #define CLOCK_SHM 1 @@ -140,10 +140,10 @@ /* #undef CLOCK_TPRO */ /* Trimble GPS receiver/TAIP protocol */ -/* #undef CLOCK_TRIMTAIP */ +#define CLOCK_TRIMTAIP 1 /* Trimble GPS receiver/TSIP protocol */ -/* #undef CLOCK_TRIMTSIP */ +#define CLOCK_TRIMTSIP 1 /* Kinemetrics/TrueTime receivers */ #define CLOCK_TRUETIME 1 @@ -158,10 +158,10 @@ #define CLOCK_ULINK 1 /* VARITEXT clock */ -/* #undef CLOCK_VARITEXT */ +#define CLOCK_VARITEXT 1 /* WHARTON 400A Series clock */ -/* #undef CLOCK_WHARTON_400A */ +#define CLOCK_WHARTON_400A 1 /* WWV audio driver */ #define CLOCK_WWV 1
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: christos Date: Sat Dec 28 03:51:52 UTC 2013 Modified Files: src/external/bsd/ntp/include: config.h Log Message: adjust for non-amd64 build To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.5 src/external/bsd/ntp/include/config.h:1.6 --- src/external/bsd/ntp/include/config.h:1.5 Fri Dec 27 22:19:43 2013 +++ src/external/bsd/ntp/include/config.h Fri Dec 27 22:51:52 2013 @@ -1458,19 +1458,31 @@ /* #undef SCO5_CLOCK */ /* The size of `char*', as computed by sizeof. */ +#ifdef _LP64 #define SIZEOF_CHARP 8 +#else +#define SIZEOF_CHARP 4 +#endif /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 /* The size of `long', as computed by sizeof. */ +#ifdef _LP64 #define SIZEOF_LONG 8 +#else +#define SIZEOF_LONG 4 +#endif /* The size of `long long', as computed by sizeof. */ #define SIZEOF_LONG_LONG 8 /* The size of `pthread_t', as computed by sizeof. */ +#ifdef _LP64 #define SIZEOF_PTHREAD_T 8 +#else +#define SIZEOF_PTHREAD_T 4 +#endif /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 @@ -1505,7 +1517,7 @@ /* #undef STRERROR_R_CHAR_P */ /* canonical system (cpu-vendor-os) of where we should run */ -#define STR_SYSTEM x86_64-unknown-netbsd6.99.28 +#define STR_SYSTEM NetBSD /* Does Xettimeofday take 1 arg? */ /* #undef SYSV_TIMEOFDAY */ @@ -1564,6 +1576,7 @@ typedef unsigned int uintptr_t; #define WANT_IPV6 1 #endif +#ifndef __NetBSD__ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD @@ -1575,6 +1588,12 @@ typedef unsigned int uintptr_t; /* # undef WORDS_BIGENDIAN */ # endif #endif +#else +# include sys/endian.h +# if _BYTE_ORDER == _BIG_ENDIAN +# define WORDS_BIGENDIAN 1 +# endif +#endif /* routine worker child proc uses to exit. */ #define WORKER_CHILD_EXIT _exit
CVS commit: src/external/bsd/ntp/include
Module Name:src Committed By: he Date: Wed Sep 1 13:46:58 UTC 2010 Modified Files: src/external/bsd/ntp/include: config.h Log Message: Vax doesn't have IEEE floating point. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/include/config.h diff -u src/external/bsd/ntp/include/config.h:1.3 src/external/bsd/ntp/include/config.h:1.4 --- src/external/bsd/ntp/include/config.h:1.3 Sun Aug 29 18:55:51 2010 +++ src/external/bsd/ntp/include/config.h Wed Sep 1 13:46:58 2010 @@ -388,7 +388,9 @@ /* #undef HAVE_HZ_IN_STRUCT_CLOCKINFO */ /* Define to 1 if you have the ieeefp.h header file. */ +#ifndef __vax__ #define HAVE_IEEEFP_H 1 +#endif /* have iflist_sysctl? */ #define HAVE_IFLIST_SYSCTL 1