diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 00:57:34 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 00:58:42 -0400 |
commit | ec13c0b296b05a130f8136a5a0bcf99290fceeb3 (patch) | |
tree | c0919fb67b59c5589ca06849e19c38c4415dd5b1 /sys-block/scsirastools/files | |
parent | sys-block/scsirastools: update to EAPI=5 (diff) | |
download | gentoo-ec13c0b296b05a130f8136a5a0bcf99290fceeb3.tar.gz gentoo-ec13c0b296b05a130f8136a5a0bcf99290fceeb3.tar.bz2 gentoo-ec13c0b296b05a130f8136a5a0bcf99290fceeb3.zip |
sys-block/scsirastools: fix build w/newer glibc #580214
Diffstat (limited to 'sys-block/scsirastools/files')
-rw-r--r-- | sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch b/sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch new file mode 100644 index 000000000000..76cef536de8f --- /dev/null +++ b/sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/580214 +https://sourceforge.net/p/scsirastools/bugs/16/ + +--- a/src/sgcommon.c ++++ b/src/sgcommon.c +@@ -62,6 +62,7 @@ + -------------------------------------------------------------------------*/ + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> +--- a/src/sgsubmon.c ++++ b/src/sgsubmon.c +@@ -34,6 +34,7 @@ + *---------------------------------------------------------------------------*/ + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> |