Alexander Stein wrote: > Signed-off-by: Alexander Stein <[email protected]>
When did you get this problem? The upcoming ptxdist release will use the latest stable ntp-4.2.6. Did you get this problem with the new version, too? cheers, Marc > --- > patches/ntp-4.2.4p7/ntp-define-fix.patch | 22 ++++++++++++++++++++++ > patches/ntp-4.2.4p7/series | 1 + > 2 files changed, 23 insertions(+), 0 deletions(-) > create mode 100644 patches/ntp-4.2.4p7/ntp-define-fix.patch > create mode 100644 patches/ntp-4.2.4p7/series > > diff --git a/patches/ntp-4.2.4p7/ntp-define-fix.patch > b/patches/ntp-4.2.4p7/ntp- > define-fix.patch > new file mode 100644 > index 0000000..cb2fee2 > --- /dev/null > +++ b/patches/ntp-4.2.4p7/ntp-define-fix.patch > @@ -0,0 +1,22 @@ > +Index: ntp-4.2.4p7/ntpd/ntp_loopfilter.c > +=================================================================== > +--- ntp-4.2.4p7/ntpd/ntp_loopfilter.c > ++++ ntp-4.2.4p7/ntpd/ntp_loopfilter.c > +@@ -568,7 +568,7 @@ local_clock( > + time_t tstamp; > + > + #ifdef STA_NANO > +- ntv.modes = MOD_BITS | MOD_NANO; > ++ ntv.modes = MOD_BITS | STA_NANO; > + #else /* STA_NANO */ > + ntv.modes = MOD_BITS; > + #endif /* STA_NANO */ > +@@ -893,7 +893,7 @@ loop_config( > + pll_control = 1; > + memset(&ntv, 0, sizeof(ntv)); > + #ifdef STA_NANO > +- ntv.modes = MOD_BITS | MOD_NANO; > ++ ntv.modes = MOD_BITS | STA_NANO; > + #else /* STA_NANO */ > + ntv.modes = MOD_BITS; > + #endif /* STA_NANO */ > diff --git a/patches/ntp-4.2.4p7/series b/patches/ntp-4.2.4p7/series > new file mode 100644 > index 0000000..31d16e1 > --- /dev/null > +++ b/patches/ntp-4.2.4p7/series > @@ -0,0 +1 @@ > +ntp-define-fix.patch -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
