mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* disable mbedtls * fix test phase * limit backend availability by configure.build_arch
11 lines
366 B
Diff
11 lines
366 B
Diff
--- lib/fusion.c.orig 2025-09-18 12:51:36.000000000 +0200
|
|
+++ lib/fusion.c 2025-09-18 12:51:10.000000000 +0200
|
|
@@ -64,6 +64,7 @@
|
|
#define aligned_alloc(a, s) _aligned_malloc((s), (a))
|
|
#define aligned_free(p) _aligned_free(p)
|
|
#else
|
|
+#define aligned_alloc(a, s) ({void *res; posix_memalign(&res, a, s) == 0 ? res : NULL;})
|
|
#define aligned_free(p) free(p)
|
|
#endif
|
|
|