rsync: Fix compile with -Wimplicit-function-declaration
The configure test for gettimeofday does not include the proper header. Override the variable as all OpenWrt libc have two arguments for gettimeofday. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
50abfa2fd7
commit
1e23b4eae0
1 changed files with 7 additions and 4 deletions
|
@ -9,13 +9,14 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=rsync
|
PKG_NAME:=rsync
|
||||||
PKG_VERSION:=3.1.3
|
PKG_VERSION:=3.1.3
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://download.samba.org/pub/rsync/src
|
PKG_SOURCE_URL:=https://download.samba.org/pub/rsync/src
|
||||||
PKG_HASH:=55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0
|
PKG_HASH:=55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0
|
||||||
|
|
||||||
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
||||||
PKG_LICENSE:=GPL-3.0
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
@ -29,7 +30,7 @@ define Package/rsync
|
||||||
SUBMENU:=File Transfer
|
SUBMENU:=File Transfer
|
||||||
TITLE:=Fast remote file copy program (like rcp)
|
TITLE:=Fast remote file copy program (like rcp)
|
||||||
DEPENDS:=+libpopt +RSYNC_xattr:libattr +RSYNC_acl:libacl +RSYNC_zlib:zlib
|
DEPENDS:=+libpopt +RSYNC_xattr:libattr +RSYNC_acl:libacl +RSYNC_zlib:zlib
|
||||||
URL:=http://rsync.samba.org/
|
URL:=https://rsync.samba.org/
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -66,13 +67,15 @@ else
|
||||||
CONFIGURE_ARGS+= --disable-ipv6
|
CONFIGURE_ARGS+= --disable-ipv6
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CONFIGURE_VARS += rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes
|
||||||
|
|
||||||
define Package/rsyncd
|
define Package/rsyncd
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=File Transfer
|
SUBMENU:=File Transfer
|
||||||
TITLE:=Rsync daemon
|
TITLE:=Rsync daemon
|
||||||
DEPENDS:=+rsync
|
DEPENDS:=+rsync
|
||||||
URL:=http://rsync.samba.org/
|
URL:=https://rsync.samba.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rsync/description
|
define Package/rsync/description
|
||||||
|
|
Loading…
Reference in a new issue