summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb')
-rw-r--r--meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb b/meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb
index 15bb00a3af..6b62e135d6 100644
--- a/meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb
+++ b/meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb
@@ -9,9 +9,12 @@ SRC_URI = "https://www.ncftp.com/public_ftp/ncftp/${BP}-src.tar.xz \
9 file://ncftp-configure-use-BUILD_CC-for-ccdv.patch \ 9 file://ncftp-configure-use-BUILD_CC-for-ccdv.patch \
10 file://unistd.patch \ 10 file://unistd.patch \
11 file://0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch \ 11 file://0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch \
12 file://0001-ncftp-3.2.7-fix-gcc14.patch \
13 file://0002-ncftp-3.2.7-fix-clang.patch \
12 " 14 "
13SRC_URI[sha256sum] = "d41c5c4d6614a8eae2ed4e4d7ada6b6d3afcc9fb65a4ed9b8711344bef24f7e8" 15SRC_URI[sha256sum] = "d41c5c4d6614a8eae2ed4e4d7ada6b6d3afcc9fb65a4ed9b8711344bef24f7e8"
14 16
17# Doesn't use automake
15inherit autotools-brokensep pkgconfig 18inherit autotools-brokensep pkgconfig
16 19
17CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall" 20CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall"
@@ -19,8 +22,8 @@ CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall"
19PACKAGECONFIG ??= "" 22PACKAGECONFIG ??= ""
20PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," 23PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,,"
21 24
25EXTRA_AUTORECONF += "--exclude=aclocal -I ${S}/autoconf_local"
22EXTRA_OECONF = "--disable-precomp --disable-universal ac_cv_path_TAR=tar" 26EXTRA_OECONF = "--disable-precomp --disable-universal ac_cv_path_TAR=tar"
23ACLOCALEXTRAPATH:append = " -I ${S}/autoconf_local"
24 27
25do_install () { 28do_install () {
26 install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir} 29 install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
@@ -28,3 +31,7 @@ do_install () {
28 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \ 31 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \
29 install 32 install
30} 33}
34
35# http://errors.yoctoproject.org/Errors/Details/766888/
36# ncftp/3.2.7/ncftp-3.2.7/config.h:358:28: error: passing argument 2 of 'select' from incompatible pointer type [-Wincompatible-pointer-types]
37CFLAGS += "-Wno-error=incompatible-pointer-types"