summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/protobuf-python/files')
-rw-r--r--dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch b/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch
index cb4a5f6cf7eb..c0b7aadcd6f5 100644
--- a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch
+++ b/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch
@@ -9,8 +9,8 @@ diff -Naur python/setup.py python/setup.py
+ libD = []
+ try:
+ subprocess.check_call(['pkg-config', '--exists', 'protobuf'])
-+ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).split()
-+ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).split()
++ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).decode().split()
++ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).decode().split()
+ except OSError as osex:
+ if osex.errno == errno.ENOENT:
+ info('pkg-config not found')