summaryrefslogtreecommitdiff
path: root/sysutils/hal/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-01-17 15:25:27 +0000
committerwiz <wiz@pkgsrc.org>2017-01-17 15:25:27 +0000
commit818f3eaa880161b36883493790eabd29a2f0048a (patch)
tree16dc035dd039397346cafcc011c60415fdc30e4b /sysutils/hal/patches
parent43ff74110f93c6c029d4562618f8f1719e3904e4 (diff)
downloadpkgsrc-818f3eaa880161b36883493790eabd29a2f0048a.tar.gz
Include sys/stat.h for struct stat. Build fix for NetBSD-current.
Diffstat (limited to 'sysutils/hal/patches')
-rw-r--r--sysutils/hal/patches/patch-hald_netbsd_devinfo__mass.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/hal/patches/patch-hald_netbsd_devinfo__mass.c b/sysutils/hal/patches/patch-hald_netbsd_devinfo__mass.c
new file mode 100644
index 00000000000..552cd594a9a
--- /dev/null
+++ b/sysutils/hal/patches/patch-hald_netbsd_devinfo__mass.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-hald_netbsd_devinfo__mass.c,v 1.1 2017/01/17 15:25:27 wiz Exp $
+
+Include sys/stat.h for struct stat.
+
+--- hald/netbsd/devinfo_mass.c.orig 2017-01-17 15:21:27.139265878 +0000
++++ hald/netbsd/devinfo_mass.c
+@@ -35,6 +35,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/scsiio.h>
+ #include <dev/scsipi/scsipi_all.h>
++#include <sys/stat.h>
+ #include <ctype.h>
+ #include <errno.h>
+ #include <fcntl.h>