aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-07-24 05:50:19 +0000
committerXin LI <delphij@FreeBSD.org>2014-07-24 05:50:19 +0000
commit112523bf20a6a2a09238d0b6c87bd95628ee44e9 (patch)
tree5531f95cbe52d08007b819f74da25ea482493777
parent144d4aa24354a2be630369c09dac6124456949da (diff)
downloadports-112523bf20a6a2a09238d0b6c87bd95628ee44e9.tar.gz
ports-112523bf20a6a2a09238d0b6c87bd95628ee44e9.zip
Fix build on -CURRENT.
Notes
Notes: svn path=/head/; revision=362765
-rw-r--r--net/iet/Makefile2
-rw-r--r--net/iet/files/patch-freebsd1112
2 files changed, 13 insertions, 1 deletions
diff --git a/net/iet/Makefile b/net/iet/Makefile
index 66ac6a24ef6b..2c8b18994a87 100644
--- a/net/iet/Makefile
+++ b/net/iet/Makefile
@@ -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}
diff --git a/net/iet/files/patch-freebsd11 b/net/iet/files/patch-freebsd11
new file mode 100644
index 000000000000..4a04d8f037ea
--- /dev/null
+++ b/net/iet/files/patch-freebsd11
@@ -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