1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

emulators/snes9x-gtk: fix build on 32-bits

/wrkdirs/usr/ports/emulators/snes9x-gtk/work/snes9x-1.63/gtk/src/gtk_display_driver_vulkan.cpp:69:54: error: assigning to 'VkDescriptorPool' (aka 'unsigned long long') from incompatible type 'vk::DescriptorPool'
   69 |     init_info.DescriptorPool = imgui_descriptor_pool.get();
      |                                ~~~~~~~~~~~~~~~~~~~~~~^~~~~
/wrkdirs/usr/ports/emulators/snes9x-gtk/work/snes9x-1.63/gtk/src/gtk_display_driver_vulkan.cpp:74:5: error: no matching function for call to 'ImGui_ImplVulkan_Init'
   74 |     ImGui_ImplVulkan_Init(&init_info, context->swapchain->get_render_pass());
      |     ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/snes9x-gtk/work/snes9x-1.63/gtk/../external/imgui/imgui_impl_vulkan.h:67:29: note: candidate function not viable: no known conversion from 'vk::RenderPass' to 'VkRenderPass' (aka 'unsigned long long') for 2nd argument
   67 | IMGUI_IMPL_API bool         ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info, VkRenderPass render_pass);
      |                             ^                                                      ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
This commit is contained in:
Piotr Kubaj 2024-07-31 15:07:58 +02:00
parent 230ffdc785
commit c830164d5f
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,9 @@ DISTVERSION= 1.63
CATEGORIES= emulators
PKGNAMESUFFIX= -gtk
PATCH_SITES= https://github.com/snes9xgit/snes9x/commit/
PATCHFILES= bff02194a797b44f7d0082c4594a2c8c0381bb1b.patch:-p1
MAINTAINER= jhale@FreeBSD.org
COMMENT= Super Nintendo Entertainment System (SNES) Emulator
WWW= https://github.com/snes9xgit/snes9x

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1720666908
TIMESTAMP = 1722430969
SHA256 (snes9xgit-snes9x-1.63_GH0.tar.gz) = 84560ce38a734ac8299645883d8e0c0423b7da2430bde5f88276bba1be6d5330
SIZE (snes9xgit-snes9x-1.63_GH0.tar.gz) = 5134657
SHA256 (KhronosGroup-SPIRV-Cross-bccaa94_GH0.tar.gz) = b35f46e0b92b0bd2b81207940cb191b9d7779cdb95a4619f8ebda176e6ec8aab
@ -7,3 +7,5 @@ SHA256 (KhronosGroup-Vulkan-Headers-577baa0_GH0.tar.gz) = e7553b46a6b2405b4c01e6
SIZE (KhronosGroup-Vulkan-Headers-577baa0_GH0.tar.gz) = 2264747
SHA256 (KhronosGroup-glslang-9c7fd1a_GH0.tar.gz) = fc5060573fc4fb9e28e60ca3d0b1d54df99384c3fe542d45d3e22e0c47fbfe4f
SIZE (KhronosGroup-glslang-9c7fd1a_GH0.tar.gz) = 3697690
SHA256 (bff02194a797b44f7d0082c4594a2c8c0381bb1b.patch) = ab4b117412833b59d163bb244f0c1a3da6cacac0464155a60426145cb102b9da
SIZE (bff02194a797b44f7d0082c4594a2c8c0381bb1b.patch) = 1378