git: bade8088697e - main - www/*chromium: sysctl(2) requires sys/types.h to be included
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Nov 2023 14:17:19 UTC
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=bade8088697e8ced11f37cc3d63d900f6b4b6301 commit bade8088697e8ced11f37cc3d63d900f6b4b6301 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:08 +0000 www/*chromium: sysctl(2) requires sys/types.h to be included PR: 274937 --- 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>