Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2023 14:17:19 GMT
From:      Robert Nagy <rnagy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bade8088697e - main - www/*chromium: sysctl(2) requires sys/types.h to be included
Message-ID:  <202311061417.3A6EHJlp007402@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311061417.3A6EHJlp007402>