summaryrefslogtreecommitdiff
path: root/user/serf/py3.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-23 22:24:30 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-23 22:24:30 +0000
commit4e8537580db31f2a98271e13801eb68042512711 (patch)
tree55a1662ddfef8ade3a3ae2fd092bb3af2a67f70d /user/serf/py3.patch
parentc779bdaa2c845db57c88697cb4e1345ffd304f28 (diff)
downloadpackages-4e8537580db31f2a98271e13801eb68042512711.tar.gz
packages-4e8537580db31f2a98271e13801eb68042512711.tar.bz2
packages-4e8537580db31f2a98271e13801eb68042512711.tar.xz
packages-4e8537580db31f2a98271e13801eb68042512711.zip
user/serf: new package
Diffstat (limited to 'user/serf/py3.patch')
-rw-r--r--user/serf/py3.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/serf/py3.patch b/user/serf/py3.patch
new file mode 100644
index 000000000..12e7be1bc
--- /dev/null
+++ b/user/serf/py3.patch
@@ -0,0 +1,24 @@
+--- serf-1.3.9/SConstruct.old 2015-09-17 12:46:24.000000000 +0000
++++ serf-1.3.9/SConstruct 2019-01-23 22:11:30.900000000 +0000
+@@ -163,9 +163,9 @@
+ suffix='.def', src_suffix='.h')
+ })
+
+-match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
+- 'SERF_MINOR_VERSION ([0-9]+).*'
+- 'SERF_PATCH_VERSION ([0-9]+)',
++match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
++ b'SERF_MINOR_VERSION ([0-9]+).*'
++ b'SERF_PATCH_VERSION ([0-9]+)',
+ env.File('serf.h').get_contents(),
+ re.DOTALL)
+ MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
+@@ -183,7 +183,7 @@
+
+ unknown = opts.UnknownVariables()
+ if unknown:
+- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
++ print('Warning: Used unknown variables:', ', '.join(unknown.keys()))
+
+ apr = str(env['APR'])
+ apu = str(env['APU'])