From 229100ecde79f6f3d031eb618acccb5aa6195b22 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 12 Jun 2022 04:23:28 -0500 Subject: user/[KDE Apps]: Update to 22.04.2 --- user/libkexiv2/backport.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/libkexiv2/backport.patch (limited to 'user/libkexiv2/backport.patch') diff --git a/user/libkexiv2/backport.patch b/user/libkexiv2/backport.patch new file mode 100644 index 000000000..93d27e4a8 --- /dev/null +++ b/user/libkexiv2/backport.patch @@ -0,0 +1,31 @@ +From 6dce742b86d6f1a42f80017868759a8dca677b1d Mon Sep 17 00:00:00 2001 +From: Nicolas Fella +Date: Thu, 19 May 2022 22:44:12 +0200 +Subject: [PATCH] Lower C++ standard from 17 to 14 + +exiv is not C++17 compatible + +It uses e.g. auto_ptr in its headers + +CCBUG: 454050 +--- + CMakeLists.txt | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7f5b065..48ea18b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -13,6 +13,9 @@ cmake_minimum_required(VERSION ${CMAKE_MIN_VERSION}) + + project(libkexiv2 VERSION "5.0.0") + ++set(CMAKE_CXX_STANDARD 14) # exiv is not compatible with C++ > 14 yet ++set(CMAKE_CXX_STANDARD_REQUIRED ON) ++ + message(STATUS "----------------------------------------------------------------------------------") + message(STATUS "Starting CMake configuration for: ${PROJECT_NAME}") + +-- +GitLab + -- cgit v1.2.3-60-g2f50