diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-third_party_crc32c_BUILD_gn')
| -rw-r--r-- | www/chromium-uc/patches/patch-third_party_crc32c_BUILD_gn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-third_party_crc32c_BUILD_gn b/www/chromium-uc/patches/patch-third_party_crc32c_BUILD_gn new file mode 100644 index 0000000..43b3fa2 --- /dev/null +++ b/www/chromium-uc/patches/patch-third_party_crc32c_BUILD_gn | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | $OpenBSD: patch-third_party_crc32c_BUILD_gn,v 1.4 2020/04/10 18:51:32 robert Exp $ | ||
| 2 | |||
| 3 | Index: third_party/crc32c/BUILD.gn | ||
| 4 | --- third_party/crc32c/BUILD.gn.orig | ||
| 5 | +++ third_party/crc32c/BUILD.gn | ||
| 6 | @@ -47,7 +47,7 @@ config("crc32c_config") { | ||
| 7 | } | ||
| 8 | |||
| 9 | # Android added <sys/auxv.h> in API level 18. | ||
| 10 | - if (is_linux || is_chromeos || is_android) { | ||
| 11 | + if (is_linux || is_chromeos || is_android && !is_openbsd) { | ||
| 12 | defines += [ | ||
| 13 | "HAVE_STRONG_GETAUXVAL=1", | ||
| 14 | "HAVE_WEAK_GETAUXVAL=1", | ||
