ports/www/chromium/files/patch-third__party_crc32c_BUILD.gn
Rene Ladan a23dfd214a www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD
  maintained by Robert Nagy.
- Fix build on i386 again.
Obtained from:	Robert Nagy <robert@openbsd.org>
Security:	https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html
Security:	https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
2022-02-20 12:42:02 +01:00

11 lines
384 B
Text

--- third_party/crc32c/BUILD.gn.orig 2022-02-07 13:39:41 UTC
+++ third_party/crc32c/BUILD.gn
@@ -47,7 +47,7 @@ config("crc32c_config") {
}
# Android added <sys/auxv.h> in API level 18.
- if (is_linux || is_chromeos || is_android) {
+ if (is_linux || is_chromeos || is_android && !is_bsd) {
defines += [
"HAVE_STRONG_GETAUXVAL=1",
"HAVE_WEAK_GETAUXVAL=1",