summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/zsync/zsync-curl_git.bb
blob: 5227b834f9a331a694398ac0d49e94fc8e4f16fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 \
           file://fixes.patch \
           file://make.patch"
SRCREV = "00141c2806ccc4ddf2ff6263ee1612d19c0b713f"

PV = "0.6.2+git"

# Upstream repo does not tag
UPSTREAM_CHECK_COMMITS = "1"

inherit autotools

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"