mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
parent
27c2cc3cc9
commit
f59e3fd6a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453640
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= smartmontools
|
||||
PORTVERSION= 6.5
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 6.6
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (smartmontools-6.5.tar.gz) = 89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc
|
||||
SIZE (smartmontools-6.5.tar.gz) = 855642
|
||||
TIMESTAMP = 1509917610
|
||||
SHA256 (smartmontools-6.6.tar.gz) = 51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054
|
||||
SIZE (smartmontools-6.6.tar.gz) = 903847
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- atacmds.h.orig 2015-10-31 09:36:16.000000000 -0700
|
||||
+++ atacmds.h 2016-06-15 19:39:43.425233000 -0700
|
||||
@@ -74,7 +74,9 @@
|
||||
#define ATA_IDLE 0xe3
|
||||
#define ATA_SMART_CMD 0xb0
|
||||
#define ATA_SECURITY_FREEZE_LOCK 0xf5
|
||||
+#ifndef ATA_SET_FEATURES
|
||||
#define ATA_SET_FEATURES 0xef
|
||||
+#endif
|
||||
#define ATA_STANDBY_IMMEDIATE 0xe0
|
||||
|
||||
// SET_FEATURES subcommands
|
@ -1,20 +0,0 @@
|
||||
--- 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)
|
||||
|
||||
+#if __FreeBSD_version < 1100110
|
||||
struct nvme_command
|
||||
{
|
||||
/* dword 0 */
|
||||
@@ -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) \
|
||||
((cpl)->status.sc != 0 || (cpl)->status.sct != 0)
|
@ -1,11 +0,0 @@
|
||||
--- os_freebsd.cpp.orig 2016-12-17 18:42:22 UTC
|
||||
+++ os_freebsd.cpp
|
||||
@@ -1936,6 +1936,8 @@ smart_device * freebsd_smart_interface::
|
||||
int i;
|
||||
const char * test_name = name;
|
||||
|
||||
+ memset(&ccb, 0, sizeof(ccb));
|
||||
+
|
||||
// if dev_name null, or string length zero
|
||||
if (!name || !*name)
|
||||
return 0;
|
Loading…
Reference in New Issue
Block a user