summaryrefslogtreecommitdiff
path: root/x11-misc/slop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-08 04:26:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-08 04:26:34 +0100
commit325837835fc86686829aaa6acace3d3c06c74cea (patch)
tree6cc31680e4ce26ab26e863fd7b72d0ffe2d9366f /x11-misc/slop
parent7ad61ca2bfc8f8da08d2fb3085e4333dcccb0a64 (diff)
gentoo auto-resync : 08:10:2024 - 04:26:34
Diffstat (limited to 'x11-misc/slop')
-rw-r--r--x11-misc/slop/Manifest3
-rw-r--r--x11-misc/slop/files/icu-75.1-cxx17.patch21
-rw-r--r--x11-misc/slop/slop-7.6-r1.ebuild7
3 files changed, 29 insertions, 2 deletions
diff --git a/x11-misc/slop/Manifest b/x11-misc/slop/Manifest
index db0f4b9b27ab..034461aa7769 100644
--- a/x11-misc/slop/Manifest
+++ b/x11-misc/slop/Manifest
@@ -1,4 +1,5 @@
+AUX icu-75.1-cxx17.patch 843 BLAKE2B e082ae3afed187343e1d5d15f977cf28649e3734b7dcf7192390ef8e6de2752a1af362bb0db85b374e7589fbdc332342bf3176a5aa0e735e3e4ba3be2886cb5b SHA512 3ac3a7376dcad3a789e8d2b1429f47e4c37defee62d2f29acefbc9c9e7207f5c876c51d475393670f367336092abd9df07d674cd1f500f2fe9d7ee20fd7fb90e
AUX slop-7.5-missing-header.patch 498 BLAKE2B 62838afbf9c9cf35958481ed5635e0f623849669127c0851500900c7073384a909a24c75bea4ab002a8fa48357312814b2b1c1f2794a9c6c51499e1c8d417b51 SHA512 7d5068e076df464e8d3b773fd803f9d7f14b55d02ea0570fb7cc1ae6e439f3b5b46af40ada24eaf7c063f6bdeb27b5cd15e10de47c909a641506d2b46dce0a98
DIST slop-7.6.tar.gz 198605 BLAKE2B fcf8b0e1212f50044aa3e3a15d208ee3fda9e1883b9601beba6b29ad574555db83f382547bbe064570765e1ed1e7c0c92bf891edadf89f006bfdf10a5b469c66 SHA512 d1abc50cad124cfb11e9b57c38c824efb2ece3dffce8e54e451ce4adc4a7ad441c6171b7df5d1c8dfa66c875a12cf07b206ba3b87229c0e5f2ddf744d7922fc3
-EBUILD slop-7.6-r1.ebuild 842 BLAKE2B 2e87541886b23319f9c71f90ad8947b9067fe64235e208a11dc14b526966f5ff6f00a8c52c41b524529242295d413a454237d4d7311c02ef7d07e9b83bbf6c8a SHA512 dadd1dfbb1931a2b6740fd5218a74ae210722350d68f8b9d2a495fc7f9d17696f5285885c3c2251ef4b8ad736c26529d2a68c92e8642c6e67185036c6db5600c
+EBUILD slop-7.6-r1.ebuild 934 BLAKE2B f4003ea2c50e40c66ce042c9b4e5fc882b4b9cad89e1524dc8daf936685eaeb322bc01cf597cf54bee18187a65465c5509a8d0aab6658de740cdc86a8510f233 SHA512 0fc2cfa40f69aafd8eb0fc3f7024f42a11808f99903cecf515403d1674f785263a980a50fbfd73641275b883bc2662eb90edc69e4e48b838ee803ab9511c9a36
MISC metadata.xml 846 BLAKE2B 25e86b393bd7bbea549e56555d67efd140e563db17cab27d7fae925bb222051c95da4b0a03fcdf82ebeddc9139d65e62b284e55e4c6be8958ecc9fe1bb46c0ba SHA512 0e73decbb9e4f6286e34525a7ca6c4ccf35595d8e6cf0e39af303b0587816c0092a97253410536d273d044ab99e5ba35219e2b72e27fdfe12673a2a75250ad81
diff --git a/x11-misc/slop/files/icu-75.1-cxx17.patch b/x11-misc/slop/files/icu-75.1-cxx17.patch
new file mode 100644
index 000000000000..4852c83fc6e8
--- /dev/null
+++ b/x11-misc/slop/files/icu-75.1-cxx17.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/933863
+https://github.com/naelstrof/slop/issues/172
+
+--- a/CMakeLists.txt
++++ a/CMakeLists.txt
+@@ -53,13 +53,13 @@ if ( SLOP_OPENGL )
+ endif()
+
+ set_property(TARGET ${LIBRARY_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
+-set_property(TARGET ${LIBRARY_NAME} PROPERTY CXX_STANDARD 11)
++set_property(TARGET ${LIBRARY_NAME} PROPERTY CXX_STANDARD 17)
+ set_property(TARGET ${LIBRARY_NAME} PROPERTY CXX_EXTENSIONS OFF)
+
+ add_executable(${EXECUTABLE_NAME} src/main.cpp)
+
+ set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
+-set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_STANDARD 11)
++set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_STANDARD 17)
+ set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_EXTENSIONS OFF)
+
+ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/modules" )
diff --git a/x11-misc/slop/slop-7.6-r1.ebuild b/x11-misc/slop/slop-7.6-r1.ebuild
index c54f3ecfd4d0..c9efba7da996 100644
--- a/x11-misc/slop/slop-7.6-r1.ebuild
+++ b/x11-misc/slop/slop-7.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -36,6 +36,11 @@ DEPEND="
PATCHES=( "${FILESDIR}/${PN}"-7.5-missing-header.patch )
+src_prepare() {
+ use icu && eapply "${FILESDIR}/"icu-75.1-cxx17.patch
+ cmake_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DSLOP_OPENGL=$(usex opengl)