diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /net-wireless/crda/files | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'net-wireless/crda/files')
-rw-r--r-- | net-wireless/crda/files/crda-4.14-python-3.patch | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/net-wireless/crda/files/crda-4.14-python-3.patch b/net-wireless/crda/files/crda-4.14-python-3.patch index 97db1ac05294..df22a6a4bd44 100644 --- a/net-wireless/crda/files/crda-4.14-python-3.patch +++ b/net-wireless/crda/files/crda-4.14-python-3.patch @@ -1,5 +1,7 @@ ---- /utils/key2pub.py -+++ /utils/key2pub.py +diff --git a/utils/key2pub.py b/utils/key2pub.py +index 9bb04cd..632e6a6 100755 +--- a/utils/key2pub.py ++++ b/utils/key2pub.py @@ -3,20 +3,20 @@ import sys try: @@ -25,7 +27,7 @@ val = val[8:] vnew.reverse() output.write('static BN_ULONG %s[%d] = {\n' % (name, len(vnew))) -@@ -34,13 +34,13 @@ +@@ -34,13 +34,13 @@ def print_ssl_64(output, name, val): output.write('};\n\n') def print_ssl_32(output, name, val): @@ -42,7 +44,7 @@ val = val[4:] vnew.reverse() output.write('static BN_ULONG %s[%d] = {\n' % (name, len(vnew))) -@@ -80,21 +80,21 @@ +@@ -80,21 +80,21 @@ struct pubkey { static struct pubkey keys[] = { ''') @@ -67,16 +69,16 @@ idx += 1 if idx == 8: idx = 0 -@@ -117,7 +117,7 @@ +@@ -117,7 +117,7 @@ struct key_params { - static const struct key_params keys[] = { + static const struct key_params __attribute__ ((unused)) keys[] = { ''') - for n in xrange(n + 1): + for n in range(n + 1): output.write(' KEYS(e_%d, n_%d),\n' % (n, n)) output.write('};\n') -@@ -135,7 +135,7 @@ +@@ -135,7 +135,7 @@ except IndexError: mode = None if not mode in modes: @@ -85,7 +87,7 @@ sys.exit(2) output = open(outfile, 'w') -@@ -153,3 +153,5 @@ +@@ -153,3 +153,5 @@ for f in files: idx += 1 modes[mode][1](output, idx - 1) |