git: fd6a710e199b - main - net/samba416: Add patches to fix ndr.h consumers (i.e. SSSD)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Jun 2025 06:45:35 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd6a710e199bdba2b2df37a481038e743da895dd
commit fd6a710e199bdba2b2df37a481038e743da895dd
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-05-25 08:46:22 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-06-03 06:41:51 +0000
net/samba416: Add patches to fix ndr.h consumers (i.e. SSSD)
Approved by: samba (kiwi)
Differential Revision: https://reviews.freebsd.org/D50518
---
net/samba416/Makefile | 2 +-
net/samba416/files/patch-lib_util_time.h | 10 ++++++++++
net/samba416/files/patch-source4_torture_ndr_ndr.h | 11 +++++++++++
3 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/net/samba416/Makefile b/net/samba416/Makefile
index efb63bbdbc0e..1e96dd4e303f 100644
--- a/net/samba416/Makefile
+++ b/net/samba416/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ${SAMBA4_BASENAME}416
PORTVERSION= ${SAMBA4_VERSION}
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES?= net
MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= ${SAMBA4_DISTNAME}
diff --git a/net/samba416/files/patch-lib_util_time.h b/net/samba416/files/patch-lib_util_time.h
new file mode 100644
index 000000000000..792c1d9d4f62
--- /dev/null
+++ b/net/samba416/files/patch-lib_util_time.h
@@ -0,0 +1,10 @@
+--- lib/util/time.h.orig 2022-01-24 10:26:58 UTC
++++ lib/util/time.h
+@@ -27,6 +27,7 @@
+ #include <stdbool.h>
+ #include <stdint.h>
+ #include <talloc.h>
++#include <sys/types.h>
+
+ #ifndef TIME_T_MIN
+ /* we use 0 here, because (time_t)-1 means error */
diff --git a/net/samba416/files/patch-source4_torture_ndr_ndr.h b/net/samba416/files/patch-source4_torture_ndr_ndr.h
new file mode 100644
index 000000000000..e2b7e7623f2c
--- /dev/null
+++ b/net/samba416/files/patch-source4_torture_ndr_ndr.h
@@ -0,0 +1,11 @@
+--- source4/torture/ndr/ndr.h.orig 2022-01-24 10:27:00 UTC
++++ source4/torture/ndr/ndr.h
+@@ -20,6 +20,8 @@
+ #ifndef __TORTURE_NDR_H__
+ #define __TORTURE_NDR_H__
+
++#include <sys/types.h>
++
+ #include "torture/torture.h"
+ #include "librpc/ndr/libndr.h"
+ #include "libcli/security/security.h"