git: 1ccac8d4ff5c - main - emulators/snes9x-gtk: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 27 Sep 2026 15:13:38 UTC
The branch main has been updated by arrowd:

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

commit 1ccac8d4ff5ce6a1c8f76f055d274352c0b76150
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-27 15:11:57 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-27 15:12:22 +0000

    emulators/snes9x-gtk: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 .../files/patch-external_SPIRV-Cross_CMakeLists.txt           | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/emulators/snes9x-gtk/files/patch-external_SPIRV-Cross_CMakeLists.txt b/emulators/snes9x-gtk/files/patch-external_SPIRV-Cross_CMakeLists.txt
new file mode 100644
index 000000000000..33b214a6dc46
--- /dev/null
+++ b/emulators/snes9x-gtk/files/patch-external_SPIRV-Cross_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- external/SPIRV-Cross/CMakeLists.txt.orig	2023-07-26 08:52:38 UTC
++++ external/SPIRV-Cross/CMakeLists.txt
+@@ -19,7 +19,7 @@
+ #  2. The MIT License, found at <http://opensource.org/licenses/MIT>.
+ #
+ 
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ set(CMAKE_CXX_STANDARD 11)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+