]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
ntp: drop uselss patch fixup which sometimes breaks rebuild
authorDanomi Manchego <danomimanchego123@gmail.com>
Sun, 5 Jul 2015 20:52:25 +0000 (16:52 -0400)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 6 Jul 2015 07:53:38 +0000 (09:53 +0200)
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 <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ntp/ntp.mk

index 5f0550813318a241ddf380417ba657f7a2323ecd..93cefa11028e4ef00860c1c105a04fec640885f0 100644 (file)
@@ -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