diff --git a/ports/libmikmod/find-openal.patch b/ports/libmikmod/find-openal.patch new file mode 100644 index 00000000000000..90a3c2b8bfd552 --- /dev/null +++ b/ports/libmikmod/find-openal.patch @@ -0,0 +1,25 @@ +From 505d9ebf6ad31d4f28ca0fbab6cf299a88d08036 Mon Sep 17 00:00:00 2001 +From: dpogue +Date: Sun, 24 Nov 2024 22:37:46 -0800 +Subject: [PATCH] Use find_package for OpenAL + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 53a174e..0be2166 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -799,7 +799,7 @@ ELSE() + ENDIF(ENABLE_SDL) + + IF (ENABLE_OPENAL) +- include(FindOpenAL) ++ find_package(OpenAL CONFIG) + IF (OPENAL_FOUND) + SET (DRV_OPENAL 1) + CHECK_MULTI_INCLUDE_FILES("AL/al.h" "AL/alc.h") +-- +2.45.2.windows.1 + diff --git a/ports/libmikmod/portfile.cmake b/ports/libmikmod/portfile.cmake index 3959bb463d3a8f..f5fe3f8c22f4ca 100644 --- a/ports/libmikmod/portfile.cmake +++ b/ports/libmikmod/portfile.cmake @@ -7,6 +7,7 @@ vcpkg_from_sourceforge( PATCHES fix-missing-dll.patch name_conflict.patch + find-openal.patch ) if(VCPKG_LIBRARY_LINKAGE STREQUAL static) diff --git a/ports/libmikmod/vcpkg.json b/ports/libmikmod/vcpkg.json index 03bf5c26399a0b..0641637961e685 100644 --- a/ports/libmikmod/vcpkg.json +++ b/ports/libmikmod/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libmikmod", "version": "3.3.11.1", - "port-version": 12, + "port-version": 13, "description": "Mikmod is a module player and library supporting many formats, including mod, s3m, it, and xm.", "homepage": "https://sourceforge.net/projects/mikmod/", "license": "LGPL-2.1-or-later", diff --git a/versions/baseline.json b/versions/baseline.json index eba0891923c8a0..c01872acc9ef61 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4818,7 +4818,7 @@ }, "libmikmod": { "baseline": "3.3.11.1", - "port-version": 12 + "port-version": 13 }, "libmodbus": { "baseline": "3.1.10", diff --git a/versions/l-/libmikmod.json b/versions/l-/libmikmod.json index ff0c441238905f..f757f80d114977 100644 --- a/versions/l-/libmikmod.json +++ b/versions/l-/libmikmod.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "08cebfdc8c42b806efd724c21ce95a95b615b232", + "version": "3.3.11.1", + "port-version": 13 + }, { "git-tree": "f76309c386e04e04888bb094d32b960d0c3cdc39", "version": "3.3.11.1",