fix mpa package build error with a patch (#12217)

This commit is contained in:
Gregory Lee 2019-07-31 14:48:06 -07:00 committed by Greg Becker
parent 162f1338d9
commit 2c2abb454c
2 changed files with 23 additions and 0 deletions

View File

@ -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;
};

View File

@ -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')