aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2022-01-21 00:26:19 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2022-01-21 00:26:19 +0000
commitd373cc930e9b8a603d9bc05e7408ac451eb94a3c (patch)
tree55423fdf0254e329d7e57033a0e74372b735623c
parentfa81e4cfd18a4ac8db9c9183dfac9c11d80f25b8 (diff)
downloadports-d373cc930e9b8a603d9bc05e7408ac451eb94a3c.tar.gz
ports-d373cc930e9b8a603d9bc05e7408ac451eb94a3c.zip
devel/pecl-grpc: add a patch to fix building @ 32bits platform.
-rw-r--r--devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc b/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc
new file mode 100644
index 000000000000..b66b869a7cd0
--- /dev/null
+++ b/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc
@@ -0,0 +1,12 @@
+--- third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc.orig 2022-01-21 00:04:09 UTC
++++ third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc
+@@ -51,7 +51,9 @@
+ #endif
+
+ #if defined(__FreeBSD__)
++#if __ELF_WORD_SIZE == 64
+ using Elf64_auxv_t = Elf64_Auxinfo;
++#endif
+ using Elf32_auxv_t = Elf32_Auxinfo;
+ #endif
+