diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-05-27 22:11:25 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-05-28 18:53:36 +0900 |
commit | 874070746cc1dbc8c37136abba0fc4aa5fb169b6 (patch) | |
tree | 6ba077f5b8ecc71db97b98445ed8cb7f2147dfff /gui-wm | |
parent | dev-util/yaml-language-server: drop 1.13.0 (diff) | |
download | guru-874070746cc1dbc8c37136abba0fc4aa5fb169b6.tar.gz guru-874070746cc1dbc8c37136abba0fc4aa5fb169b6.tar.bz2 guru-874070746cc1dbc8c37136abba0fc4aa5fb169b6.zip |
gui-wm/miracle-wm: fix hardcoded g++
Closes: https://bugs.gentoo.org/932784
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'gui-wm')
-rw-r--r-- | gui-wm/miracle-wm/files/miracle-wm-0.2.1-unset-compiler.patch | 22 | ||||
-rw-r--r-- | gui-wm/miracle-wm/miracle-wm-0.2.1.ebuild | 5 |
2 files changed, 27 insertions, 0 deletions
diff --git a/gui-wm/miracle-wm/files/miracle-wm-0.2.1-unset-compiler.patch b/gui-wm/miracle-wm/files/miracle-wm-0.2.1-unset-compiler.patch new file mode 100644 index 000000000..5748ad93b --- /dev/null +++ b/gui-wm/miracle-wm/files/miracle-wm-0.2.1-unset-compiler.patch @@ -0,0 +1,22 @@ +https://github.com/mattkae/miracle-wm/pull/138 +https://bugs.gentoo.org/932784 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,7 +7,6 @@ + set(CMAKE_CXX_STANDARD 20) + set(CMAKE_CXX_EXTENSIONS OFF) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +-set(CMAKE_CXX_COMPILER g++) + + set(ENV{PKG_CONFIG_PATH} "/usr/local/lib/pkgconfig/") + set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -3,7 +3,6 @@ + set(CMAKE_CXX_STANDARD 20) + set(CMAKE_CXX_EXTENSIONS OFF) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +-set(CMAKE_CXX_COMPILER g++) + + include_directories( + ${PROJECT_SOURCE_DIR}/src diff --git a/gui-wm/miracle-wm/miracle-wm-0.2.1.ebuild b/gui-wm/miracle-wm/miracle-wm-0.2.1.ebuild index e42a6b101..153f400d7 100644 --- a/gui-wm/miracle-wm/miracle-wm-0.2.1.ebuild +++ b/gui-wm/miracle-wm/miracle-wm-0.2.1.ebuild @@ -29,6 +29,11 @@ BDEPEND=" test? ( dev-cpp/gtest ) " +PATCHES=( + # bug #932784 + "${FILESDIR}/${P}-unset-compiler.patch" +) + src_prepare() { cmake_src_prepare use test || cmake_comment_add_subdirectory tests/ |