summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-08 19:54:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-08 19:56:03 +0100
commit8d950fbb236fb5939f8a784fb201165b46720cc7 (patch)
tree7ff42c1fe421096ae3208b8293be256949dfbd3e /media-gfx/maim
parentsys-firmware/sof-firmware: stabilize 2024.09 for amd64 (diff)
downloadgentoo-8d950fbb236fb5939f8a784fb201165b46720cc7.tar.gz
gentoo-8d950fbb236fb5939f8a784fb201165b46720cc7.tar.bz2
gentoo-8d950fbb236fb5939f8a784fb201165b46720cc7.zip
media-gfx/maim: Fix build with ICU-75
Thanks-to: Emanuele Torre Thanks-to: pva Closes: https://bugs.gentoo.org/937454 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/maim')
-rw-r--r--media-gfx/maim/files/maim-5.8.0-icu-75.patch11
-rw-r--r--media-gfx/maim/maim-5.8.0.ebuild3
2 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/maim/files/maim-5.8.0-icu-75.patch b/media-gfx/maim/files/maim-5.8.0-icu-75.patch
new file mode 100644
index 000000000000..8c7c4163f22e
--- /dev/null
+++ b/media-gfx/maim/files/maim-5.8.0-icu-75.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -38,7 +38,7 @@ find_package( Threads REQUIRED )
+ find_package( GLM REQUIRED )
+
+ set_property(TARGET ${BIN_TARGET} PROPERTY CXX_STANDARD_REQUIRED ON)
+-set_property(TARGET ${BIN_TARGET} PROPERTY CXX_STANDARD 11)
++set_property(TARGET ${BIN_TARGET} PROPERTY CXX_STANDARD 17)
+ set_property(TARGET ${BIN_TARGET} PROPERTY CXX_EXTENSIONS OFF)
+
+ # Includes
diff --git a/media-gfx/maim/maim-5.8.0.ebuild b/media-gfx/maim/maim-5.8.0.ebuild
index bee0980ae8d2..d8582940073f 100644
--- a/media-gfx/maim/maim-5.8.0.ebuild
+++ b/media-gfx/maim/maim-5.8.0.ebuild
@@ -36,6 +36,9 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+# Pending issue upstream: https://github.com/naelstrof/maim/issues/292
+PATCHES=( "${FILESDIR}/${P}-icu-75.patch" ) # bug 937454
+
src_configure() {
local mycmakeargs=(
-DMAIM_UNICODE=$(usex icu)