aboutsummaryrefslogtreecommitdiff
path: root/net/samba410/files/patch-source4_heimdal__build_wscript__configure
blob: fd63921253a944cedc012603ae2176dfdcd8d89a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- source4/heimdal_build/wscript_configure.orig	2019-01-15 10:07:00 UTC
+++ source4/heimdal_build/wscript_configure
@@ -171,7 +171,7 @@ if not krb5_config:
     krb5_config = conf.find_program("krb5-config", var="HEIMDAL_KRB5_CONFIG")
 if krb5_config:
     # Not ideal, but seems like the best way to get at these paths:
-    f = open(krb5_config[0], 'r')
+    f = open(krb5_config[0], 'r', errors='ignore')
     try:
         for l in f:
             if l.startswith("libdir="):
@@ -181,6 +181,8 @@ if krb5_config:
                 heimdal_includedirs.append(include_path)
                 conf.define('HEIMDAL_KRB5_TYPES_PATH',
                             include_path + "/krb5-types.h")
+    except:
+        pass
     finally:
         f.close()