aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-20 01:05:12 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-06-22 16:04:14 +0200
commitd2da8b82cfb2f8e55236751c1c56c9e7f3b5f68d (patch)
tree18e69e4a3c4e47cf67da9179294e3d532b190f20 /meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch
parent11d98126c99a36c637ba9af01b0f888169f10550 (diff)
downloadmeta-openembedded-contrib-d2da8b82cfb2f8e55236751c1c56c9e7f3b5f68d.tar.gz
scsirastools: Upgrade to 1.6.6
Fix build with hardening flags Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch')
-rw-r--r--meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch b/meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch
new file mode 100644
index 0000000000..6edda08cdf
--- /dev/null
+++ b/meta-oe/recipes-extended/scsirastools/scsirastools/mdadm.patch
@@ -0,0 +1,13 @@
+--- mdadm.d/mdadm-1.3.0/mdadm.h.org 2017-06-20 00:35:55.366978372 -0700
++++ mdadm.d/mdadm-1.3.0/mdadm.h 2017-06-20 00:36:41.244363348 -0700
+@@ -29,8 +29,9 @@
+
+ #define __USE_LARGEFILE64
+ #include <unistd.h>
+-extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
++//extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
+
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <stdlib.h>