1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

net/samba422: Add patches to fix ndr.h consumers (i.e. SSSD)

This is the same change that was applied to net/samba416 in
fd6a710e19

PR:		293566
Approved by:	samba (maintainer timeout)
This commit is contained in:
Gleb Popov
2026-03-06 09:22:17 +03:00
parent bc1bc4b7ec
commit 6850eda53c
3 changed files with 23 additions and 0 deletions
+1
View File
@@ -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|}
+11
View File
@@ -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>
@@ -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"