On Sun, Jan 19, 2025 at 08:05:54AM -0500, Thomas Frohwein wrote:
> Hi ports@,
>
> Update attached, lightly tested with vkcube, vulkaninfo, and vkquake
> including runtime and build. Removing the patch for string functions in
> cube.c because of previous discussions about risks with this.
>
> Given how use of vulkan has sprawled and the version bump to 1.4, would
> be great if could be tested in a bulk build before committing...
>
> The diff is created from ports/graphics/ location FYI.
The following diff will be needed by emulators/snes9x after this gets
in.
Lucas
diff 0abb58b8ad0f45f3c65e1356ef969fcb50cd04e2
1c4eb294907d8fdc5598f457d3b5ec1c8ef7f77b
commit - 0abb58b8ad0f45f3c65e1356ef969fcb50cd04e2
commit + 1c4eb294907d8fdc5598f457d3b5ec1c8ef7f77b
blob - 51b7a21a47001a6e119a56577488b72dc95c015d
blob + a7c60474cd0054391ee59ea54375d222d29aca92
--- emulators/snes9x/Makefile
+++ emulators/snes9x/Makefile
@@ -5,7 +5,7 @@ BROKEN-hppa = ICE/failure on filter/hq2x.cpp
GH_ACCOUNT = snes9xgit
GH_PROJECT = snes9x
GH_TAGNAME = 1.63
-REVISION = 0
+REVISION = 1
CATEGORIES = emulators games
blob - /dev/null
blob + 053e1be9c68c8762cb49f8f9eade139ba2a7943e (mode 644)
--- /dev/null
+++ emulators/snes9x/patches/patch-vulkan_vulkan_context_cpp
@@ -0,0 +1,23 @@
+Moved into a new namespace in Vulkan-Headers v1.3.301.0.
+
+Index: vulkan/vulkan_context.cpp
+--- vulkan/vulkan_context.cpp.orig
++++ vulkan/vulkan_context.cpp
+@@ -6,7 +6,7 @@
+ namespace Vulkan
+ {
+
+-static std::unique_ptr<vk::DynamicLoader> dl;
++static std::unique_ptr<vk::detail::DynamicLoader> dl;
+
+ Context::Context()
+ {
+@@ -32,7 +32,7 @@ static bool load_loader()
+ if (dl)
+ return true;
+
+- dl = std::make_unique<vk::DynamicLoader>();
++ dl = std::make_unique<vk::detail::DynamicLoader>();
+ if (!dl->success())
+ {
+ dl.reset();