summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-04-16 15:40:12 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-04-16 07:25:10 -0400
commit500e5d2ad58f78d3aa5132081123955b6681bb8c (patch)
tree0af4fda14f47b594e996fe4214a080c880ca63e3 /recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch
parent97fea33badac9e674365744a559006b70d2e1222 (diff)
downloadmeta-virtualization-500e5d2ad58f78d3aa5132081123955b6681bb8c.tar.gz
openvswitch: refresh patches to fix QA warning
Refresh patches with devtool command to fix do_patch warning. Drop CVE-2017-9263.patch since it had been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch')
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch b/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch
index 717a97db..d6f93646 100644
--- a/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch
+++ b/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch
@@ -1,7 +1,7 @@
1From bc29f98f0137fa1083a4cacf832d52f740d150a8 Mon Sep 17 00:00:00 2001 1From d22c7f1c6ade82a0cd646cfcd8df9adda6cd1ad6 Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com> 2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Thu, 29 Jun 2017 20:33:23 -0700 3Date: Thu, 29 Jun 2017 20:33:23 -0700
4Subject: [PATCH 5/8] Python3 compatibility: fix integer problems 4Subject: [PATCH] Python3 compatibility: fix integer problems
5 5
6Commit fa145f1a53943243f94a32ce98525db8494b0052 from 6Commit fa145f1a53943243f94a32ce98525db8494b0052 from
7https://github.com/openvswitch/ovs.git 7https://github.com/openvswitch/ovs.git
@@ -15,13 +15,14 @@ The simple answer is to convert it with int() and move on.
15 15
16Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 16Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
17Signed-off-by: Ben Pfaff <blp@ovn.org> 17Signed-off-by: Ben Pfaff <blp@ovn.org>
18
18--- 19---
19 ovsdb/ovsdb-idlc.in | 2 +- 20 ovsdb/ovsdb-idlc.in | 2 +-
20 python/build/nroff.py | 2 ++ 21 python/build/nroff.py | 2 ++
21 2 files changed, 3 insertions(+), 1 deletion(-) 22 2 files changed, 3 insertions(+), 1 deletion(-)
22 23
23diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in 24diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in
24index 615548f..7cbcbf5 100755 25index b70a599..3645275 100755
25--- a/ovsdb/ovsdb-idlc.in 26--- a/ovsdb/ovsdb-idlc.in
26+++ b/ovsdb/ovsdb-idlc.in 27+++ b/ovsdb/ovsdb-idlc.in
27@@ -358,7 +358,7 @@ static void 28@@ -358,7 +358,7 @@ static void
@@ -46,6 +47,3 @@ index c23837f..401f699 100644
46 extend = x + len(s) - len(text[y]) 47 extend = x + len(s) - len(text[y])
47 if extend > 0: 48 if extend > 0:
48 text[y] += ' ' * extend 49 text[y] += ' ' * extend
49--
502.5.0
51