Date: Tue, 22 Feb 2022 14:57:09 GMT From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 52ea554a266b - main - www/chromium: fix build on 14-CURRENT Message-ID: <202202221457.21MEv9vd020798@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=52ea554a266bc98d64f10c5d296286c2ba8b87ea commit 52ea554a266bc98d64f10c5d296286c2ba8b87ea Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-02-22 14:52:32 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-02-22 14:56:13 +0000 www/chromium: fix build on 14-CURRENT PR: 258271 Fixes: a23dfd21 "www/chromium: update to 98.0.4758.102" --- www/chromium/files/patch-third__party_nasm_BUILD.gn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/www/chromium/files/patch-third__party_nasm_BUILD.gn b/www/chromium/files/patch-third__party_nasm_BUILD.gn new file mode 100644 index 000000000000..fbf6537090b2 --- /dev/null +++ b/www/chromium/files/patch-third__party_nasm_BUILD.gn @@ -0,0 +1,16 @@ +--- third_party/nasm/BUILD.gn 2022-02-21 07:21:41 UTC ++++ third_party/nasm/BUILD.gn +@@ -59,6 +59,13 @@ config("nasm_config") { + + defines = [ "HAVE_CONFIG_H" ] + ++ _string_h_lines = ++ read_file("/usr/include/string.h", "list lines") ++ _mempcpy = filter_include(_string_h_lines, [ "*\*mempcpy*" ]) ++ if (_mempcpy != []) { ++ defines += [ "HAVE_MEMPCPY=1" ] ++ } ++ + if (is_clang) { + cflags = [ + # The inline functions in NASM's headers flag this.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202221457.21MEv9vd020798>