git: 609c0dc555fb - main - lang/rust: fix powerpc bootstrap
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jun 2025 09:23:10 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=609c0dc555fb544bda9ae71883e5c6a3062aff1b
commit 609c0dc555fb544bda9ae71883e5c6a3062aff1b
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-06-26 09:22:05 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-06-26 09:23:07 +0000
lang/rust: fix powerpc bootstrap
---
lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c b/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
index 95c749f9d63b..ccc65c25e521 100644
--- a/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
+++ b/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
@@ -8,7 +8,7 @@ https://github.com/openssl/openssl/commit/65787e2dc219685c30539c6f60eb6b64b890bf
# define BROKEN_CLANG_ATOMICS
#endif
-+#if defined(__FreeBSD__) && defined(__i386__)
++#if defined(__FreeBSD__) && (defined(__i386__) || (defined(__powerpc) && defined(__ILP32__)))
+#define BROKEN_CLANG_ATOMICS
+#endif
+