Files
meta-openembedded/meta-oe/recipes-extended/zsync/zsync-curl_git.bb
T
Khem Raj e1f95af4ba meta-oe/recipes: disable C23 support to fix configure check
Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23
compiler support, avoiding potential build failures as the package
is not yet fully ported to support C23 standard.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-16 12:21:07 -07:00

29 lines
1.1 KiB
BlitzBasic

SUMMARY = "File transfer tool optimised for large files (curl port)"
HOMEPAGE = "http://zsync.moria.org.uk/"
DEPENDS = "curl"
LICENSE = "Artistic-2.0"
LIC_FILES_CHKSUM = "file://src/COPYING;md5=71c0ac4d86266533509aa0825b8d323c"
SRC_URI = "git://github.com/probonopd/zsync-curl;protocol=https;branch=master"
SRCREV = "e0a7bbbcc137cf99d3cf05060496d57b72ce6a81"
PV = "0.6.2+git"
# Upstream repo does not tag
UPSTREAM_CHECK_COMMITS = "1"
inherit autotools
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
AUTOTOOLS_SCRIPT_PATH = "${S}/src"
BBCLASSEXTEND = "native nativesdk"
# http://errors.yoctoproject.org/Errors/Details/766891/
# git/src/libzsync/zsync.c:445:18: error: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types]
# git/src/libzsync/zsync.c:450:18: error: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types]
# git/src/libzsync/zsync.c:932:43: error: passing argument 4 of 'zsync_configure_zstream_for_zdata' from incompatible pointer type [-Wincompatible-pointer-types]
CFLAGS += "-Wno-error=incompatible-pointer-types"