]> git.pld-linux.org Git - packages/samba.git/blob - heimdal-atomic.patch
- don't try to stop nmbd or check its status if it is disabled
[packages/samba.git] / heimdal-atomic.patch
1 diff -ur samba-4.19.0.orig/third_party/heimdal_build/wscript_build samba-4.19.0/third_party/heimdal_build/wscript_build
2 --- samba-4.19.0.orig/third_party/heimdal_build/wscript_build   2023-07-18 10:14:57.102107300 +0200
3 +++ samba-4.19.0/third_party/heimdal_build/wscript_build        2023-09-06 13:45:50.945430242 +0200
4 @@ -733,7 +733,7 @@
5      HEIMDAL_LIBRARY('krb5', KRB5_SOURCE,
6          version_script='lib/krb5/version-script.map',
7                          includes='../heimdal/lib/krb5 ../heimdal/lib/asn1 ../heimdal/include',
8 -                deps='roken wind asn1 hx509 HEIMDAL_KX509_ASN1 hcrypto com_err HEIMDAL_CONFIG heimbase execinfo samba_intl HEIMDAL_IPC_CLIENT KRB5_CRYPTO' + krb5_keyutils_dep,
9 +                deps='atomic roken wind asn1 hx509 HEIMDAL_KX509_ASN1 hcrypto com_err HEIMDAL_CONFIG heimbase execinfo samba_intl HEIMDAL_IPC_CLIENT KRB5_CRYPTO' + krb5_keyutils_dep,
10                  cflags=['-DLOCALSTATEDIR="/2"'] + bld.dynconfig_cflags(),
11                          )
12      KRB5_PROTO_SOURCE = KRB5_SOURCE + ['lib/krb5/expand_path.c', 'lib/krb5/plugin.c', 'lib/krb5/context.c', 'lib/krb5/crypto.c']
13 diff -ur samba-4.19.0.orig/wscript samba-4.19.0/wscript
14 --- samba-4.19.0.orig/wscript   2023-07-18 10:14:57.130107400 +0200
15 +++ samba-4.19.0/wscript        2023-09-06 13:44:51.950443107 +0200
16 @@ -207,6 +207,8 @@
17                     mandatory=True)
18      conf.CHECK_FUNCS_IN('inflateInit2', 'z')
19  
20 +    conf.CHECK_LIB('atomic')
21 +
22      if Options.options.enable_keyring is not False:
23          conf.env['WITH_KERNEL_KEYRING'] = 'auto'
24          if Options.options.enable_keyring is True:
This page took 6.12795 seconds and 3 git commands to generate.