ncftp: update to 3.2.8

Includes the following reverts now included in upstream
- Revert "ncftp: workaround gcc-14 error incompatible-pointer-types"
  - This reverts commit c731707e9ae4a2deacbfafefb2bda062f845e036.
- Revert "ncftp: define HAVE_STDLIB_H fixes gcc-14 missing header"
  - This reverts commit 12ff911fb671faf4eee2d7708b3e0c961cf0938a.
This commit is contained in:
Rudi Heitbaum 2025-03-12 05:50:01 +00:00
parent ba8623d4bb
commit d1d76c36ad

View File

@ -2,11 +2,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ncftp"
PKG_VERSION="3.2.7"
PKG_SHA256="d41c5c4d6614a8eae2ed4e4d7ada6b6d3afcc9fb65a4ed9b8711344bef24f7e8"
PKG_VERSION="3.2.8"
PKG_SHA256="db7da662458a1643209d6869465c38ec811f8975a6ac54fd20c63a3349f7dbf4"
PKG_LICENSE="GPLv3"
PKG_SITE="http://www.ncftp.com/ncftp/"
PKG_URL="https://www.ncftp.com/public_ftp/ncftp/ncftp-${PKG_VERSION}-src.tar.xz"
PKG_URL="https://www.ncftp.com/public_ftp/ncftp/ncftp-${PKG_VERSION}-src.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="NcFTP is a set of application programs implementing the File Transfer Protocol."
PKG_BUILD_FLAGS="-sysroot"
@ -18,10 +18,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_librtmp_rtmp_h=yes \
--without-curses"
pre_configure_target() {
export CFLAGS="${CFLAGS} -I../ -DHAVE_STDLIB_H=1"
#workaround gcc-14 erroring with incompatible pointer type
CFLAGS+=" -Wno-incompatible-pointer-types"
export CFLAGS="${CFLAGS} -I../"
}
pre_build_target() {