git: e5e56b8c2efb - 2022Q1 - www/chromium: fix build on 14-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Feb 2022 16:33:31 UTC
The branch 2022Q1 has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=e5e56b8c2efb9129760f297bbd4fa9a7b354d726 commit e5e56b8c2efb9129760f297bbd4fa9a7b354d726 Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-02-22 14:52:32 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-02-22 15:03:50 +0000 www/chromium: fix build on 14-CURRENT PR: 258271 Fixes: a23dfd21 "www/chromium: update to 98.0.4758.102" (cherry picked from commit 52ea554a266bc98d64f10c5d296286c2ba8b87ea) --- 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.