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 00000000000..9900880f1a7 --- /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 e3a743b4a7f..ea29c077c97 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')