aboutsummaryrefslogtreecommitdiff
path: root/net/samba410/files/patch-lib__talloc__wscript
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba410/files/patch-lib__talloc__wscript')
-rw-r--r--net/samba410/files/patch-lib__talloc__wscript18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/samba410/files/patch-lib__talloc__wscript b/net/samba410/files/patch-lib__talloc__wscript
new file mode 100644
index 000000000000..67014276b595
--- /dev/null
+++ b/net/samba410/files/patch-lib__talloc__wscript
@@ -0,0 +1,18 @@
+--- lib/talloc/wscript.orig 2018-01-17 09:08:39 UTC
++++ lib/talloc/wscript
+@@ -46,13 +46,14 @@ def configure(conf):
+ conf.env.TALLOC_COMPAT1 = False
+ if conf.env.standalone_talloc:
+ conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1
+- conf.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
++ conf.env.PKGCONFIGDIR = '%%PKGCONFIGDIR%%'
+ conf.env.TALLOC_VERSION = VERSION
+
+ conf.CHECK_XSLTPROC_MANPAGES()
+
+ conf.CHECK_HEADERS('sys/auxv.h')
+ conf.CHECK_FUNCS('getauxval')
++ conf.CHECK_FUNCS('arc4random')
+
+ conf.SAMBA_CONFIG_H()
+