Date: Wed, 6 Jul 2016 20:09:16 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418145 - head/sysutils/smartmontools/files Message-ID: <201607062009.u66K9GdU071994@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607062009.u66K9GdU071994>