aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs3/unfs3
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-12-10 13:57:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-16 12:11:24 +0000
commit8c1f4cbb789a5b32c8b33b3863359897f32bd49d (patch)
tree8f5dc605659d2a91e0a3a99901931b6426cda836 /meta/recipes-devtools/unfs3/unfs3
parent3c3932f3560c898e32287c8733b61180685ee539 (diff)
downloadopenembedded-core-contrib-8c1f4cbb789a5b32c8b33b3863359897f32bd49d.tar.gz
unfs3: update to r497
Drop fix_warnings.patch as it's been merged upstream. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/unfs3/unfs3')
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/fix_warnings.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/recipes-devtools/unfs3/unfs3/fix_warnings.patch b/meta/recipes-devtools/unfs3/unfs3/fix_warnings.patch
deleted file mode 100644
index cda8655b96..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/fix_warnings.patch
+++ /dev/null
@@ -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;
- }
-
- /*