From d4c5cd1d939ac9bc8f4e2065e5afa83b1fa00418 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Tue, 5 Jun 2018 09:47:35 -0400 Subject: openvswitch: remove unused patches commit 1fd1ff372014 [openvswitch: uprev to v2.9.2] left a bunch of unused patches in place. Remove unreferenced patches as they are no longer needed. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- ...ython3-compatibility-fix-integer-problems.patch | 49 ---------------------- 1 file changed, 49 deletions(-) delete mode 100644 recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch (limited to 'recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch') 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 deleted file mode 100644 index d6f93646..00000000 --- a/recipes-networking/openvswitch/openvswitch-git/0005-Python3-compatibility-fix-integer-problems.patch +++ /dev/null @@ -1,49 +0,0 @@ -From d22c7f1c6ade82a0cd646cfcd8df9adda6cd1ad6 Mon Sep 17 00:00:00 2001 -From: Jason Wessel -Date: Thu, 29 Jun 2017 20:33:23 -0700 -Subject: [PATCH] Python3 compatibility: fix integer problems - -Commit fa145f1a53943243f94a32ce98525db8494b0052 from -https://github.com/openvswitch/ovs.git - -In python3 maxint is not defined, but maxsize is defined in both -python2 and python3. - -The put_text() will not automatically use a value which came in as -float due to a pior math function and python3 will throw an exception. -The simple answer is to convert it with int() and move on. - -Signed-off-by: Jason Wessel -Signed-off-by: Ben Pfaff - ---- - ovsdb/ovsdb-idlc.in | 2 +- - python/build/nroff.py | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in -index b70a599..3645275 100755 ---- a/ovsdb/ovsdb-idlc.in -+++ b/ovsdb/ovsdb-idlc.in -@@ -358,7 +358,7 @@ static void - print(" %s" % type.value.initCDefault(valueVar, type.n_min == 0)) - print(" }") - else: -- if type.n_max != sys.maxint: -+ if type.n_max != sys.maxsize: - print(" size_t n = MIN(%d, datum->n);" % type.n_max) - nMax = "n" - else: -diff --git a/python/build/nroff.py b/python/build/nroff.py -index c23837f..401f699 100644 ---- a/python/build/nroff.py -+++ b/python/build/nroff.py -@@ -148,6 +148,8 @@ def fatal(msg): - - - def put_text(text, x, y, s): -+ x = int(x) -+ y = int(y) - extend = x + len(s) - len(text[y]) - if extend > 0: - text[y] += ' ' * extend -- cgit v1.2.3-54-g00ecf