From c7b64067f23263680c8b36eca6ac4f7faa03e941 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Tue, 26 Mar 2024 02:06:41 +0800 Subject: [PATCH] vsftpd: fix compilation with musl 1.2.4 --- package/lean/vsftpd-alt/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/lean/vsftpd-alt/Makefile b/package/lean/vsftpd-alt/Makefile index db88e30c5..860193937 100644 --- a/package/lean/vsftpd-alt/Makefile +++ b/package/lean/vsftpd-alt/Makefile @@ -7,9 +7,9 @@ include $(TOPDIR)/rules.mk -PKG_NAME:=vsftpd-alt +PKG_NAME:=vsftpd-alt PKG_VERSION:=3.0.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=vsftpd-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://security.appspot.com/downloads/ @@ -48,6 +48,7 @@ endef ifneq ($(CONFIG_USE_MUSL),) NLSSTRING:=-lcrypt + TARGET_CFLAGS += -D_LARGEFILE64_SOURCE else ifneq ($(CONFIG_USE_GLIBC),) NLSSTRING:=-lcrypt else