1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build on -CURRENT.

This commit is contained in:
Xin LI 2014-07-24 05:50:19 +00:00
parent 144d4aa243
commit 112523bf20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362765
2 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= iet
PORTVERSION= 1.4.20.2
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= net kld
MASTER_SITES= SF/iscsitarget/iscsitarget/${PORTVERSION}/
DISTNAME= iscsitarget-${PORTVERSION}

View File

@ -0,0 +1,12 @@
--- kernel/ietbsd.h.orig 2014-07-23 22:45:36.000000000 -0700
+++ kernel/ietbsd.h 2014-07-23 22:46:55.000000000 -0700
@@ -642,7 +642,9 @@
#define SAM_STAT_RESERVATION_CONFLICT SCSI_STATUS_RESERV_CONFLICT
#define SAM_STAT_CHECK_CONDITION SCSI_STATUS_CHECK_COND
#define WRITE_VERIFY 0x2e
+#ifndef VERIFY_16
#define VERIFY_16 0x8f
+#endif
#define DATA_PROTECT SSD_KEY_DATA_PROTECT
#define NO_SENSE SSD_KEY_NO_SENSE
#define MEDIUM_ERROR SSD_KEY_MEDIUM_ERROR