Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] ntpd: drop unneeded uClibc workaround for refclock_pcf.c
@ 2015-07-06  7:54 Peter Korsgaard
  2015-07-06 11:37 ` Danomi Manchego
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2015-07-06  7:54 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=0cbe4bc52d5f1cea7d2c085e40f948a5a78183b9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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@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@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-06 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06  7:54 [Buildroot] [git commit] ntpd: drop unneeded uClibc workaround for refclock_pcf.c Peter Korsgaard
2015-07-06 11:37 ` Danomi Manchego
2015-07-06 12:21   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox