git: beba79ea0400 - main - www/{chromium,ungoogled-chromium}: unbreak on FreeBSD < 13.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Mar 2023 05:06:35 UTC
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=beba79ea0400605b719e3ac7961bab51533159d5 commit beba79ea0400605b719e3ac7961bab51533159d5 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-02-28 09:35:39 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-03-01 05:06:28 +0000 www/{chromium,ungoogled-chromium}: unbreak on FreeBSD < 13.0 support for memfd_create has been introduced in 13.0 so disable it on older releases PR: 269869 Reviewed by: rene (mentor) --- .../files/patch-third__party_wayland_include_config.h | 16 ++++++++++++++-- .../files/patch-third__party_wayland_include_config.h | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/www/chromium/files/patch-third__party_wayland_include_config.h b/www/chromium/files/patch-third__party_wayland_include_config.h index 2dc3c949e7b5..ee8277613a92 100644 --- a/www/chromium/files/patch-third__party_wayland_include_config.h +++ b/www/chromium/files/patch-third__party_wayland_include_config.h @@ -1,6 +1,18 @@ ---- third_party/wayland/include/config.h.orig 2023-02-08 15:40:14 UTC +--- third_party/wayland/include/config.h.orig 2023-02-28 09:34:10 UTC +++ third_party/wayland/include/config.h -@@ -25,7 +25,11 @@ +@@ -9,7 +9,11 @@ + + #define HAVE_BROKEN_MSG_CMSG_CLOEXEC 0 + ++#if __FreeBSD__version > 1300000 + #define HAVE_MEMFD_CREATE ++#else ++#undef HAVE_MEMFD_CREATE ++#endif + + #define HAVE_MKOSTEMP + +@@ -25,7 +29,11 @@ #undef HAVE_SYS_PROCCTL_H diff --git a/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h b/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h index e6e2f7def1b4..ee8277613a92 100644 --- a/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h +++ b/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h @@ -1,6 +1,18 @@ ---- third_party/wayland/include/config.h.orig 2023-02-11 09:11:04 UTC +--- third_party/wayland/include/config.h.orig 2023-02-28 09:34:10 UTC +++ third_party/wayland/include/config.h -@@ -25,7 +25,11 @@ +@@ -9,7 +9,11 @@ + + #define HAVE_BROKEN_MSG_CMSG_CLOEXEC 0 + ++#if __FreeBSD__version > 1300000 + #define HAVE_MEMFD_CREATE ++#else ++#undef HAVE_MEMFD_CREATE ++#endif + + #define HAVE_MKOSTEMP + +@@ -25,7 +29,11 @@ #undef HAVE_SYS_PROCCTL_H