mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
samba: qualify required gssapi.h
Inconsistent builds with samba 4.16 with the wrong gssapi.h being picked up. This is a workaround, and being raised upstream. [1800/2511] Compiling source3/lib/smbd_shim.c In file included from ../../third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h:40, from ../../lib/replace/system/gssapi.h:43, from ../../lib/krb5_wrap/gss_samba.h:27, from ../../auth/kerberos/pac_utils.h:27, from ../../auth/kerberos/gssapi_pac.c:28: ../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:9:8: error: unknown type name 'GSSAPI_LIB_VARIABLE' 9 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_copy_ccache_x_oid_desc; | ^~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
e5830dc584
commit
810be4a5b9
11
packages/network/samba/patches/samba-210-4.16-gssapi-h.patch
Normal file
11
packages/network/samba/patches/samba-210-4.16-gssapi-h.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h 2022-03-08 14:53:05.742089500 +0000
|
||||
+++ b/third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h 2022-03-08 14:53:05.742089500 +0000
|
||||
@@ -36,7 +36,7 @@
|
||||
#ifndef GSSAPI_KRB5_H_
|
||||
#define GSSAPI_KRB5_H_
|
||||
|
||||
-#include <gssapi.h>
|
||||
+#include <gssapi/gssapi/gssapi.h>
|
||||
#include <gssapi/gssapi_oid.h>
|
||||
|
||||
GSSAPI_CPP_START
|
Loading…
x
Reference in New Issue
Block a user