svn commit: r418145 - head/sysutils/smartmontools/files
Sean Bruno
sbruno at FreeBSD.org
Wed Jul 6 20:09:17 UTC 2016
Author: sbruno
Date: Wed Jul 6 20:09:16 2016
New Revision: 418145
URL: https://svnweb.freebsd.org/changeset/ports/418145
Log:
sysutils/smartmontools
- Fix build for o/s releases > 1100110 and #include <dev/nvme/nvme.h> to
pickup the structures definitions used in os_freebsd.cpp.
Modified:
head/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
Modified: head/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
==============================================================================
--- head/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h Wed Jul 6 20:06:21 2016 (r418144)
+++ head/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h Wed Jul 6 20:09:16 2016 (r418145)
@@ -1,5 +1,5 @@
---- freebsd_nvme_ioctl.h.orig 2016-03-28 09:25:56.000000000 -0700
-+++ freebsd_nvme_ioctl.h 2016-06-15 20:43:22.389493000 -0700
+--- freebsd_nvme_ioctl.h.orig 2016-03-28 16:25:56 UTC
++++ freebsd_nvme_ioctl.h
@@ -31,6 +31,7 @@
#define NVME_PASSTHROUGH_CMD _IOWR('n', 0, struct nvme_pt_command)
@@ -8,10 +8,12 @@
struct nvme_command
{
/* dword 0 */
-@@ -143,6 +144,7 @@
+@@ -143,6 +144,9 @@ struct nvme_pt_command {
*/
struct mtx * driver_lock;
};
++#else
++#include <dev/nvme/nvme.h>
+#endif
#define nvme_completion_is_error(cpl) \
More information about the svn-ports-all
mailing list