git: df4a5af9e35d - 2023Q4 - www/*chromium: sysctl(2) requires sys/types.h to be included

From: Robert Nagy <rnagy_at_FreeBSD.org>
Date: Mon, 06 Nov 2023 14:17:55 UTC
The branch 2023Q4 has been updated by rnagy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df4a5af9e35d8fa884f968d97a0db06a34aa65ff

commit df4a5af9e35d8fa884f968d97a0db06a34aa65ff
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2023-11-06 14:15:59 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2023-11-06 14:17:32 +0000

    www/*chromium: sysctl(2) requires sys/types.h to be included
    
    PR:     274937
    (cherry picked from commit bade8088697e8ced11f37cc3d63d900f6b4b6301)
---
 www/chromium/files/patch-base_posix_sysctl.cc           | 10 ++++++++++
 www/ungoogled-chromium/files/patch-base_posix_sysctl.cc | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/www/chromium/files/patch-base_posix_sysctl.cc b/www/chromium/files/patch-base_posix_sysctl.cc
new file mode 100644
index 000000000000..369f0aca416b
--- /dev/null
+++ b/www/chromium/files/patch-base_posix_sysctl.cc
@@ -0,0 +1,10 @@
+--- base/posix/sysctl.cc.orig	2023-11-06 14:11:03 UTC
++++ base/posix/sysctl.cc
+@@ -4,6 +4,7 @@
+ 
+ #include "base/posix/sysctl.h"
+ 
++#include <sys/types.h>
+ #include <sys/sysctl.h>
+ 
+ #include <initializer_list>
diff --git a/www/ungoogled-chromium/files/patch-base_posix_sysctl.cc b/www/ungoogled-chromium/files/patch-base_posix_sysctl.cc
new file mode 100644
index 000000000000..60d9ef2ad0ce
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-base_posix_sysctl.cc
@@ -0,0 +1,10 @@
+--- base/posix/sysctl.cc.orig	2023-11-06 14:15:25 UTC
++++ base/posix/sysctl.cc
+@@ -4,6 +4,7 @@
+ 
+ #include "base/posix/sysctl.h"
+ 
++#include <sys/types.h>
+ #include <sys/sysctl.h>
+ 
+ #include <initializer_list>