mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-cluster/opencoarrays: fix -Wint-conversion CMake conf warning/error
Closes: https://bugs.gentoo.org/888009 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Gentoo issue: https://bugs.gentoo.org/888009
|
||||
|
||||
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -422,7 +422,7 @@
|
||||
char processor_name[MPI_MAX_PROCESSOR_NAME];
|
||||
int name_len;
|
||||
MPI_Get_processor_name(processor_name, &name_len);
|
||||
- printf('Hello world from processor %s, rank %d out of %d processors',
|
||||
+ printf(\"Hello world from processor %s, rank %d out of %d processors\",
|
||||
processor_name, world_rank, world_size);
|
||||
MPI_Finalize();
|
||||
}"
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -34,6 +34,10 @@ DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10.1_fix_Wint-conversion_warning_error.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
filter-lto # Bug 860765
|
||||
|
||||
|
||||
@@ -37,6 +37,10 @@ DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10.1_fix_Wint-conversion_warning_error.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
filter-lto # Bug 860765
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -34,6 +34,10 @@ DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10.1_fix_Wint-conversion_warning_error.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
filter-lto # Bug 860765
|
||||
|
||||
|
||||
Reference in New Issue
Block a user