git: e6cdd1dc70d0 - main - devel/php-grpc: add powerpc64* support
Piotr Kubaj <[email protected]> Mon, 03 Aug 2026 15:21:53 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6cdd1dc70d031e1dd5494797609e2ee4955e2d6 commit e6cdd1dc70d031e1dd5494797609e2ee4955e2d6 Author: Piotr Kubaj <[email protected]> AuthorDate: 2026-08-03 09:31:22 +0000 Commit: Piotr Kubaj <[email protected]> CommitDate: 2026-08-03 15:21:26 +0000 devel/php-grpc: add powerpc64* support /wrkdirs/usr/ports/devel/php-grpc/work-php82/grpc-php-ext-1.83.0/third_party/boringssl-with-bazel/include/openssl/target.h:74:2: error: "Unknown target CPU" 74 | #error "Unknown target CPU" | ^ 1 error generated. --- ...rd__party_boringssl-with-bazel_include_openssl_target.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/devel/php-grpc/files/patch-third__party_boringssl-with-bazel_include_openssl_target.h b/devel/php-grpc/files/patch-third__party_boringssl-with-bazel_include_openssl_target.h new file mode 100644 index 000000000000..a39f508ea21b --- /dev/null +++ b/devel/php-grpc/files/patch-third__party_boringssl-with-bazel_include_openssl_target.h @@ -0,0 +1,14 @@ +--- third_party/boringssl-with-bazel/include/openssl/target.h.orig 2026-08-03 08:36:24 UTC ++++ third_party/boringssl-with-bazel/include/openssl/target.h +@@ -54,6 +54,11 @@ + #define OPENSSL_32_BIT + #elif defined(__myriad2__) + #define OPENSSL_32_BIT ++#elif defined(__powerpc64__) ++// PowerPC64 has no BoringSSL assembly; the portable C code is used and the ++// build must define OPENSSL_NO_ASM. BoringSSL only officially supports ++// little-endian, so big-endian ppc64 is unverified. ++#define OPENSSL_64_BIT + #else + // The list above enumerates the platforms that BoringSSL supports. For these + // platforms we keep a reasonable bar of not breaking them: automated test