git: c6499c86f19c - 2023Q1 - www/iridium: fix build

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Wed, 18 Jan 2023 22:33:52 UTC
The branch 2023Q1 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6499c86f19c9ac3ff9b41ee413248d0e5ad9f8b

commit c6499c86f19c9ac3ff9b41ee413248d0e5ad9f8b
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-01-18 21:56:51 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-01-18 22:33:39 +0000

    www/iridium: fix build
    
    Fixes:          fbc179be5cf "www/iridium: update to 2023.01.109"
    Pointy hat:     rene
    
    (cherry picked from commit 806350ecc912c45293b3569582780ae34966bee1)
---
 ..._vulkan__memory__allocator_include_vk__mem__alloc.h | 18 +++++++++---------
 www/iridium/pkg-plist                                  |  1 +
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/www/iridium/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h b/www/iridium/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h
index 4976c1dbc4f4..9faee003ae78 100644
--- a/www/iridium/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h
+++ b/www/iridium/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h
@@ -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__)
diff --git a/www/iridium/pkg-plist b/www/iridium/pkg-plist
index 48c1c36bb8a0..3cb2d6e97f32 100644
--- a/www/iridium/pkg-plist
+++ b/www/iridium/pkg-plist
@@ -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