git: 9ea68c3c05e5 - main - devel/electron21: Fix patch.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Dec 2022 10:06:14 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ea68c3c05e54c5b817e11a7c93f2e196539e5c1 commit 9ea68c3c05e54c5b817e11a7c93f2e196539e5c1 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-12-18 10:05:32 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-12-18 10:06:06 +0000 devel/electron21: Fix patch. --- ...ty_vulkan__memory__allocator_include_vk__mem__alloc.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/devel/electron21/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h b/devel/electron21/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h index f91dcc0021b0..9faee003ae78 100644 --- a/devel/electron21/files/patch-third__party_vulkan__memory__allocator_include_vk__mem__alloc.h +++ b/devel/electron21/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 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__)