patch launchmon to fix char * conversion error (#12219)
This commit is contained in:
parent
5c970613b6
commit
162f1338d9
@ -0,0 +1,19 @@
|
||||
*** launchmon-v1.0.2/launchmon/src/linux/lmon_api/lmon_coloc_spawner.cxx.orig Wed Jul 31 10:44:44 2019
|
||||
--- launchmon-v1.0.2/launchmon/src/linux/lmon_api/lmon_coloc_spawner.cxx Wed Jul 31 10:45:04 2019
|
||||
***************
|
||||
*** 122,128 ****
|
||||
memcpy(lmonpl, (*iter).c_str(), (*iter).size() + 1);
|
||||
lmonpl += (*iter).size() + 1;
|
||||
}
|
||||
! lmonpl = '\0'; /* ending null */
|
||||
|
||||
if (write_lmonp_long_msg(m_be_master_sockfd, msg, msgsize) < 0)
|
||||
{
|
||||
--- 122,128 ----
|
||||
memcpy(lmonpl, (*iter).c_str(), (*iter).size() + 1);
|
||||
lmonpl += (*iter).size() + 1;
|
||||
}
|
||||
! *lmonpl = '\0'; /* ending null */
|
||||
|
||||
if (write_lmonp_long_msg(m_be_master_sockfd, msg, msgsize) < 0)
|
||||
{
|
@ -26,6 +26,8 @@ class Launchmon(AutotoolsPackage):
|
||||
depends_on("boost")
|
||||
depends_on("spectrum-mpi", when='arch=ppc64le')
|
||||
|
||||
patch('launchmon-char-conv.patch', when='@1.0.2')
|
||||
|
||||
def setup_environment(self, spack_env, run_env):
|
||||
if self.spec.satisfies('@master'):
|
||||
# automake for launchmon requires the AM_PATH_LIBGCRYPT macro
|
||||
|
Loading…
Reference in New Issue
Block a user