git: 02cfb1ddaa83 - 2023Q4 - www/chromium: sysctl(2) requires sys/types.h to be included
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Dec 2023 20:02:31 UTC
The branch 2023Q4 has been updated by rnagy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=02cfb1ddaa83bdcdd4dc97ff961bee97df9ec569
commit 02cfb1ddaa83bdcdd4dc97ff961bee97df9ec569
Author: Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2023-12-17 20:01:27 +0000
Commit: Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2023-12-17 20:02:25 +0000
www/chromium: sysctl(2) requires sys/types.h to be included
PR: 275800
(cherry picked from commit 86aa406ddd90fed3da58bdc80c035663a0125ddb)
---
www/chromium/files/patch-base_posix_sysctl.cc | 10 ++++++++++
1 file changed, 10 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..564e1c8eaadd
--- /dev/null
+++ b/www/chromium/files/patch-base_posix_sysctl.cc
@@ -0,0 +1,10 @@
+--- base/posix/sysctl.cc.orig 2023-12-17 20:01:00 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>