* [gentoo-commits] repo/gentoo:master commit in: sys-block/scsirastools/, sys-block/scsirastools/files/
@ 2016-04-21 4:59 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2016-04-21 4:59 UTC (permalink / raw
To: gentoo-commits
commit: ec13c0b296b05a130f8136a5a0bcf99290fceeb3
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 04:57:34 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 04:58:42 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec13c0b2
sys-block/scsirastools: fix build w/newer glibc #580214
.../files/scsirastools-1.5.7-sysmacros.patch | 23 ++++++++++++++++++++++
sys-block/scsirastools/scsirastools-1.5.7.ebuild | 1 +
2 files changed, 24 insertions(+)
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 0000000..76cef53
--- /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>
diff --git a/sys-block/scsirastools/scsirastools-1.5.7.ebuild b/sys-block/scsirastools/scsirastools-1.5.7.ebuild
index 2a84c3d..4ff75f1 100644
--- a/sys-block/scsirastools/scsirastools-1.5.7.ebuild
+++ b/sys-block/scsirastools/scsirastools-1.5.7.ebuild
@@ -19,6 +19,7 @@ RDEPEND="sys-apps/rescan-scsi-bus
DEPEND="${RDEPEND}"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-sysmacros.patch #580214
# this builds a really old mdadm
sed -i \
-e '/RPMB/d' \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-21 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21 4:59 [gentoo-commits] repo/gentoo:master commit in: sys-block/scsirastools/, sys-block/scsirastools/files/ Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox