diff options
author | Gregory Lee <lee218@llnl.gov> | 2019-07-31 14:48:06 -0700 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2019-07-31 16:48:06 -0500 |
commit | 2c2abb454c3c4c2846da73dd2153682715ead763 (patch) | |
tree | f7d68666a505a777d497dcf82e270db389c44e62 | |
parent | 162f1338d9afcb46b11dbceb6d9bc5f9d329fc9d (diff) | |
download | spack-2c2abb454c3c4c2846da73dd2153682715ead763.tar.gz spack-2c2abb454c3c4c2846da73dd2153682715ead763.tar.bz2 spack-2c2abb454c3c4c2846da73dd2153682715ead763.tar.xz spack-2c2abb454c3c4c2846da73dd2153682715ead763.zip |
fix mpa package build error with a patch (#12217)
-rw-r--r-- | var/spack/repos/builtin/packages/mount-point-attributes/mpa_type_conversion.patch | 21 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/mount-point-attributes/package.py | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mount-point-attributes/mpa_type_conversion.patch b/var/spack/repos/builtin/packages/mount-point-attributes/mpa_type_conversion.patch new file mode 100644 index 0000000000..9900880f1a --- /dev/null +++ b/var/spack/repos/builtin/packages/mount-point-attributes/mpa_type_conversion.patch @@ -0,0 +1,21 @@ +*** MountPointAttributes/src/MountPointAttr.h.orig Wed Jul 31 10:08:33 2019 +--- MountPointAttributes/src/MountPointAttr.h Wed Jul 31 10:09:55 2019 +*************** +*** 248,255 **** + */ + struct FileSystemTypeInfo { + FileSystemType t; +! unsigned short speed; +! unsigned short scalability; + const char *fs_name; + }; + +--- 248,255 ---- + */ + struct FileSystemTypeInfo { + FileSystemType t; +! short speed; +! short scalability; + const char *fs_name; + }; + diff --git a/var/spack/repos/builtin/packages/mount-point-attributes/package.py b/var/spack/repos/builtin/packages/mount-point-attributes/package.py index e3a743b4a7..ea29c077c9 100644 --- a/var/spack/repos/builtin/packages/mount-point-attributes/package.py +++ b/var/spack/repos/builtin/packages/mount-point-attributes/package.py @@ -18,3 +18,5 @@ class MountPointAttributes(AutotoolsPackage): depends_on('autoconf', type='build') depends_on('automake', type='build') depends_on('libtool', type='build') + + patch('mpa_type_conversion.patch', when='@1.1') |