unfs3: update to r497
Drop fix_warnings.patch as it's been merged upstream. (From OE-Core rev: 8c1f4cbb789a5b32c8b33b3863359897f32bd49d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4e653b5212
commit
5d32aebe36
|
@ -1,53 +0,0 @@
|
|||
exports.*: fix warnings.
|
||||
|
||||
Fix these warnings:
|
||||
lex.yy.c:1207: warning: 'yyunput' defined but not used
|
||||
lex.yy.c:1248: warning: 'input' defined but not used
|
||||
exports.y: In function 'set_hostname':
|
||||
exports.y:334: warning: large integer implicitly truncated to unsigned type
|
||||
exports.y: In function 'set_ipaddr':
|
||||
exports.y:350: warning: large integer implicitly truncated to unsigned type
|
||||
|
||||
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
||||
|
||||
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
|
||||
|
||||
---
|
||||
Config/exports.l | 3 +++
|
||||
Config/exports.y | 6 ++++--
|
||||
2 files changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/Config/exports.l
|
||||
+++ b/Config/exports.l
|
||||
@@ -48,6 +48,9 @@ NETCOMP [0-9]{1,2}
|
||||
NET {IP}"/"{NETCOMP}
|
||||
OLDNET {IP}"/"{IP}
|
||||
|
||||
+%option nounput
|
||||
+%option noinput
|
||||
+
|
||||
%%
|
||||
|
||||
^{WHITE}*\n { /* eat empty line */ }
|
||||
--- a/Config/exports.y
|
||||
+++ b/Config/exports.y
|
||||
@@ -331,7 +331,8 @@ static void set_hostname(const char *nam
|
||||
if (ent) {
|
||||
memcpy(&cur_host.addr, ent->h_addr_list[0],
|
||||
sizeof(struct in_addr));
|
||||
- cur_host.mask.s_addr = ~0UL;
|
||||
+ cur_host.mask.s_addr = 0;
|
||||
+ cur_host.mask.s_addr = ~cur_host.mask.s_addr;
|
||||
} else {
|
||||
logmsg(LOG_CRIT, "could not resolve hostname '%s'", name);
|
||||
e_error = TRUE;
|
||||
@@ -347,7 +348,8 @@ static void set_ipaddr(const char *addr)
|
||||
|
||||
if (!inet_aton(addr, &cur_host.addr))
|
||||
e_error = TRUE;
|
||||
- cur_host.mask.s_addr = ~0UL;
|
||||
+ cur_host.mask.s_addr = 0;
|
||||
+ cur_host.mask.s_addr = ~cur_host.mask.s_addr;
|
||||
}
|
||||
|
||||
/*
|
|
@ -4,9 +4,9 @@ LICENSE = "unfs3"
|
|||
LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
|
||||
|
||||
# SVN support for upstream version check isn't implemented yet
|
||||
RECIPE_UPSTREAM_VERSION = "0.9.22.r495"
|
||||
RECIPE_UPSTREAM_DATE = "Feb 05, 2015"
|
||||
CHECK_DATE = "Jun 10, 2015"
|
||||
RECIPE_UPSTREAM_VERSION = "0.9.22.r497"
|
||||
RECIPE_UPSTREAM_DATE = "Oct 08, 2015"
|
||||
CHECK_DATE = "Dec 10, 2015"
|
||||
|
||||
DEPENDS = "flex-native bison-native flex"
|
||||
DEPENDS_append_class-nativesdk += "flex-nativesdk"
|
||||
|
@ -14,16 +14,15 @@ DEPENDS_append_class-nativesdk += "flex-nativesdk"
|
|||
SRC_URI[md5sum] = "3687acc4ee992e536472365dd99712a7"
|
||||
SRC_URI[sha256sum] = "274b43ada9c6eea1da26eb7010d72889c5278984ba0b50dff4e093057d4d64f8"
|
||||
|
||||
MOD_PV = "490"
|
||||
MOD_PV = "497"
|
||||
S = "${WORKDIR}/trunk"
|
||||
SRC_URI = "svn://svn.code.sf.net/p/unfs3/code;module=trunk;rev=${MOD_PV} \
|
||||
SRC_URI = "svn://svn.code.sf.net/p/unfs3/code;module=trunk;rev=${MOD_PV};protocol=http \
|
||||
file://unfs3_parallel_build.patch \
|
||||
file://alternate_rpc_ports.patch \
|
||||
file://fix_pid_race_parent_writes_child_pid.patch \
|
||||
file://fix_compile_warning.patch \
|
||||
file://rename_fh_cache.patch \
|
||||
file://relative_max_socket_path_len.patch \
|
||||
file://fix_warnings.patch \
|
||||
file://tcp_no_delay.patch \
|
||||
"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
Loading…
Reference in New Issue