mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
www/iridium: fix build
Fixes: fbc179be5c
"www/iridium: update to 2023.01.109"
Pointy hat: rene
This commit is contained in:
parent
bca7e99bbd
commit
806350ecc9
@ -1,11 +1,11 @@
|
||||
--- third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig 2023-01-17 20:31:46 UTC
|
||||
--- third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig 2022-02-28 16:54:41 UTC
|
||||
+++ third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
|
||||
@@ -2503,7 +2503,7 @@ void *vma_aligned_alloc(size_t alignment, size_t size)
|
||||
|
||||
return memalign(alignment, size);
|
||||
}
|
||||
-#elif defined(__APPLE__) || defined(__ANDROID__) || (defined(__linux__) && defined(__GLIBCXX__) && !defined(_GLIBCXX_HAVE_ALIGNED_ALLOC))
|
||||
+#elif defined(__APPLE__) || defined(__ANDROID__) || (defined(__linux__) && defined(__GLIBCXX__) && !defined(_GLIBCXX_HAVE_ALIGNED_ALLOC)) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||
#include <cstdlib>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
||||
return memalign(alignment, size);
|
||||
}
|
||||
-#elif defined(__APPLE__) || defined(__ANDROID__) || (defined(__linux__) && defined(__GLIBCXX__) && !defined(_GLIBCXX_HAVE_ALIGNED_ALLOC))
|
||||
+#elif defined(__APPLE__) || defined(__ANDROID__) || (defined(__linux__) && defined(__GLIBCXX__) && !defined(_GLIBCXX_HAVE_ALIGNED_ALLOC)) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||
#include <cstdlib>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
@ -141,3 +141,4 @@ share/icons/hicolor/24x24/apps/iridium.png
|
||||
share/icons/hicolor/256x256/apps/iridium.png
|
||||
share/icons/hicolor/48x48/apps/iridium.png
|
||||
share/icons/hicolor/64x64/apps/iridium.png
|
||||
@dir %%DATADIR%%/swiftshader
|
||||
|
Loading…
Reference in New Issue
Block a user