From 7917152f1353d670f5ada4a2f68397c339106d2c Mon Sep 17 00:00:00 2001 From: Danomi Manchego Date: Sun, 5 Jul 2015 16:52:25 -0400 Subject: [PATCH] ntp: drop uselss patch fixup which sometimes breaks rebuild Drop sed line which no longer changes anything as upstream has changed to use strrchr. Worse, it bumps each ntpd/*.c file's modification time, which sometimes triggers a strange dependency path causing the makefile to attempt to run the ntpd keyword-gen app, which fails, because it's been cross-compiled. Signed-off-by: Danomi Manchego Signed-off-by: Peter Korsgaard --- package/ntp/ntp.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 5f05508133..93cefa1102 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -42,7 +42,6 @@ endif define NTP_PATCH_FIXUPS $(SED) "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," $(@D)/ntpd/refclock_pcf.c - $(SED) '/[[:space:](]rindex[[:space:]]*(/s/[[:space:]]*rindex[[:space:]]*(/ strrchr(/g' $(@D)/ntpd/*.c endef NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_KEYGEN) += util/ntp-keygen -- 2.39.2