1
0
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:
Rene Ladan 2023-01-18 22:56:51 +01:00
parent bca7e99bbd
commit 806350ecc9
2 changed files with 10 additions and 9 deletions

View File

@ -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__)

View File

@ -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