You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-cpp/pficommon/files/pficommon-1.3.1.0-postgresq...

14 lines
613 B

diff --git a/src/database/wscript b/src/database/wscript
index 8eca1d0..3916a7d 100644
--- a/src/database/wscript
+++ b/src/database/wscript
@@ -20,7 +20,7 @@ def configure(conf):
conf.env.BUILD_PGSQL = False
if not Options.options.disable_database:
try:
- incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode()
+ incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode('utf-8')
libdir = subprocess.check_output(['pg_config', '--libdir']).decode()
if conf.check_cxx(lib = 'pq',
header_name = 'postgres.h',