git: 6850eda53c3b - main - net/samba422: Add patches to fix ndr.h consumers (i.e. SSSD)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Mar 2026 15:12:01 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6850eda53c3bccd22cf962d66e3e5ef03a898881
commit 6850eda53c3bccd22cf962d66e3e5ef03a898881
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-03-06 06:22:17 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-03-20 15:11:36 +0000
net/samba422: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout)
---
net/samba422/Makefile | 1 +
net/samba422/files/patch-lib_util_time.h | 11 +++++++++++
net/samba422/files/patch-source4_torture_ndr_ndr.h | 11 +++++++++++
3 files changed, 23 insertions(+)
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index 1526cf200a61..72dc0718e10c 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -1,5 +1,6 @@
PORTNAME= samba422
DISTVERSION= 4.22.7
+PORTREVISION= 1
CATEGORIES?= net
MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= samba-${DISTVERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|}
diff --git a/net/samba422/files/patch-lib_util_time.h b/net/samba422/files/patch-lib_util_time.h
new file mode 100644
index 000000000000..6d69766739d5
--- /dev/null
+++ b/net/samba422/files/patch-lib_util_time.h
@@ -0,0 +1,11 @@
+--- lib/util/time.h.orig 2025-02-06 10:31:54 UTC
++++ lib/util/time.h
+@@ -24,6 +24,8 @@
+ #ifndef _SAMBA_TIME_H_
+ #define _SAMBA_TIME_H_
+
++#include <sys/types.h>
++
+ #include <stdbool.h>
+ #include <stdint.h>
+ #include <talloc.h>
diff --git a/net/samba422/files/patch-source4_torture_ndr_ndr.h b/net/samba422/files/patch-source4_torture_ndr_ndr.h
new file mode 100644
index 000000000000..1347d7fe050b
--- /dev/null
+++ b/net/samba422/files/patch-source4_torture_ndr_ndr.h
@@ -0,0 +1,11 @@
+--- source4/torture/ndr/ndr.h.orig 2025-02-06 10:31:55 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"