aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-third__party_crc32c_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-third__party_crc32c_BUILD.gn')
-rw-r--r--devel/electron37/files/patch-third__party_crc32c_BUILD.gn11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-third__party_crc32c_BUILD.gn b/devel/electron37/files/patch-third__party_crc32c_BUILD.gn
new file mode 100644
index 000000000000..fb4e1a944845
--- /dev/null
+++ b/devel/electron37/files/patch-third__party_crc32c_BUILD.gn
@@ -0,0 +1,11 @@
+--- third_party/crc32c/BUILD.gn.orig 2023-05-25 00:42:42 UTC
++++ third_party/crc32c/BUILD.gn
+@@ -46,7 +46,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",