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