aports/community/polybar/fix-modules-cmake-version.patch
p_q b6d63a7abf community/polybar: fix gcc15 build + cmake issues
Due to header structure change in the STL with gcc-15,
cstdint must be explicitly included in polybar.

CMake now requires to drop support of versions <3.5 in CMakeLists.txt
2025-10-11 15:07:13 +00:00

19 lines
539 B
Diff

--- a/lib/xpp/CMakeLists.txt
+++ b/lib/xpp/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
project(xpp)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
--- a/lib/i3ipcpp/CMakeLists.txt
+++ b/lib/i3ipcpp/CMakeLists.txt
@@ -1,6 +1,6 @@
# Project setup
-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
project(i3ipc++ CXX)
option(WITH_LOGGING "Build with log support" OFF)