summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch
diff options
context:
space:
mode:
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