git: 86aa406ddd90 - main - 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:01 UTC
The branch main has been updated by rnagy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=86aa406ddd90fed3da58bdc80c035663a0125ddb
commit 86aa406ddd90fed3da58bdc80c035663a0125ddb
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:01:27 +0000
www/chromium: sysctl(2) requires sys/types.h to be included
PR: 275800
---
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>