From ca4abc64946a310452bac6214e73247e3b398dd6 Mon Sep 17 00:00:00 2001 From: Marcin Maj Date: Fri, 7 Nov 2025 01:58:18 +0100 Subject: [PATCH] libvorbis: require cmake >= 3.10 due to removed legacy support Link: https://github.com/openwrt/packages/issues/27607 Link: https://github.com/openwrt/openwrt/commit/1b48ebd31c28f5b2ad3f964c25f34d33badbb979 Signed-off-by: Marcin Maj --- libs/libvorbis/Makefile | 2 +- libs/libvorbis/patches/001-cmake-version.patch | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 libs/libvorbis/patches/001-cmake-version.patch diff --git a/libs/libvorbis/Makefile b/libs/libvorbis/Makefile index a4bf632483..826e809340 100644 --- a/libs/libvorbis/Makefile +++ b/libs/libvorbis/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libvorbis PKG_VERSION:=1.3.7 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://downloads.xiph.org/releases/vorbis/ diff --git a/libs/libvorbis/patches/001-cmake-version.patch b/libs/libvorbis/patches/001-cmake-version.patch new file mode 100644 index 0000000000..4c1c56d3e2 --- /dev/null +++ b/libs/libvorbis/patches/001-cmake-version.patch @@ -0,0 +1,8 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8.12) ++cmake_minimum_required(VERSION 3.10) + project(vorbis) + + list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")