summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-19 03:15:30 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-19 03:43:45 +0100
commit4e557b9116160c188cd2ca685e69aea4844bf47a (patch)
tree41e81fecfdd9bf808b801c2881d73d7b7b2122a5 /net-fs/samba/files
parentsys-kernel/gentoo-sources: Linux kernel 4.1.38 (diff)
downloadgentoo-4e557b9116160c188cd2ca685e69aea4844bf47a.tar.gz
gentoo-4e557b9116160c188cd2ca685e69aea4844bf47a.tar.bz2
gentoo-4e557b9116160c188cd2ca685e69aea4844bf47a.zip
net-fs/samba: Bump to versions 4.5.4 and 4.6.0_rc1
Added possibility to build AD Domain Controller against bundled heimdal. Thanks to Denis Kaganovich and David Williams for providing patches in Gentoo bug #594130. Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-fs/samba/files')
-rw-r--r--net-fs/samba/files/samba-4.5.1-compile_et_fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-4.5.1-compile_et_fix.patch b/net-fs/samba/files/samba-4.5.1-compile_et_fix.patch
new file mode 100644
index 000000000000..463512f9a9c8
--- /dev/null
+++ b/net-fs/samba/files/samba-4.5.1-compile_et_fix.patch
@@ -0,0 +1,16 @@
+--- samba-4.5.1/source4/heimdal_build/wscript_configure
++++ samba-4.5.1/source4/heimdal_build/wscript_configure
+@@ -258,7 +258,11 @@
+
+ # With the proper checks in place we should be able to build against the system libtommath.
+ #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
+ # conf.define('USING_SYSTEM_TOMMATH', 1)
+
+-check_system_heimdal_binary("compile_et")
+-check_system_heimdal_binary("asn1_compile")
++# comment out next line to stop Gentoo Samba build from using the compile_et in e2fsprogs-libs
++# to compile the error tables. This produces a compile error later on.
++#check_system_heimdal_binary("compile_et")
++#
++# As a precaution do the same for asn1_compile
++#check_system_heimdal_binary("asn1_compile")