[Buildroot] [git commit branch/next] ntpd: drop unneeded uClibc workaround for refclock_pcf.c
Peter Korsgaard
peter at korsgaard.com
Sat Aug 8 10:56:52 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=0cbe4bc52d5f1cea7d2c085e40f948a5a78183b9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next
refclock_pcf.c contains code using the tm_gmtoff member of struct tm, which
is only available on uClibc if it is built with __UCLIBC_HAS_TM_EXTENSIONS__.
This change date back to:
commit 7129da009cc72575a84a30c4587bd99f745c49d4
Author: Eric Andersen <andersen at codepoet.org>
Date: Sat Jan 18 21:27:22 2003 +0000
Merge a bunch of stuff over from the tuxscreen buildroot, with
many updates to make things be more consistant.
-Erik
But nowadays our uClibc configs DO enable __UCLIBC_HAS_TM_EXTENSIONS__, so
it is no longer needed and can be dropped.
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/ntp/ntp.mk | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk
index 93cefa1..110eaf8 100644
--- a/package/ntp/ntp.mk
+++ b/package/ntp/ntp.mk
@@ -40,10 +40,6 @@ else
NTP_CONF_OPTS += --disable-ATOM
endif
-define NTP_PATCH_FIXUPS
- $(SED) "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," $(@D)/ntpd/refclock_pcf.c
-endef
-
NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_KEYGEN) += util/ntp-keygen
NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_WAIT) += scripts/ntp-wait/ntp-wait
NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate
More information about the buildroot
mailing list