aboutsummaryrefslogtreecommitdiff
path: root/net/iet
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-06-19 02:24:46 +0000
committerXin LI <delphij@FreeBSD.org>2013-06-19 02:24:46 +0000
commit230e7b0ec630c35c0e13adab5f52cf3de1d2e5ce (patch)
tree1d8d04dfe5173a94a32f199908c10439f47347d0 /net/iet
parent8e7af6457dd8ec4d5766e428fd233fb17114d315 (diff)
downloadports-230e7b0ec630c35c0e13adab5f52cf3de1d2e5ce.tar.gz
ports-230e7b0ec630c35c0e13adab5f52cf3de1d2e5ce.zip
Notes
Diffstat (limited to 'net/iet')
-rw-r--r--net/iet/Makefile8
-rw-r--r--net/iet/files/patch-freebsd1036
2 files changed, 38 insertions, 6 deletions
diff --git a/net/iet/Makefile b/net/iet/Makefile
index 964909e628be..45294a9c666a 100644
--- a/net/iet/Makefile
+++ b/net/iet/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: iet
-# Date created: 2011-02-25
-# Whom: Xin LI <delphij@FreeBSD.org>
-#
+# Created by: Xin LI <delphij@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= iet
PORTVERSION= 1.4.20.2
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net
MASTER_SITES= SF/iscsitarget/iscsitarget/${PORTVERSION}/
DISTNAME= iscsitarget-${PORTVERSION}
diff --git a/net/iet/files/patch-freebsd10 b/net/iet/files/patch-freebsd10
index f3615bfaf733..5e4137562355 100644
--- a/net/iet/files/patch-freebsd10
+++ b/net/iet/files/patch-freebsd10
@@ -220,3 +220,39 @@
}
#endif
kfree(p);
+--- kernel/ietbsd.h.orig 2013-06-18 20:31:28.000000000 -0400
++++ kernel/ietbsd.h 2013-06-18 20:38:05.000000000 -0400
+@@ -11,6 +11,7 @@
+ #include <sys/malloc.h>
+ #include <sys/lock.h>
+ #include <sys/mutex.h>
++#include <sys/rwlock.h>
+ #include <sys/bio.h>
+ #include <sys/time.h>
+ #include <sys/queue.h>
+--- usr/bsddefs.h.orig 2013-06-18 20:39:09.000000000 -0400
++++ usr/bsddefs.h 2013-06-18 22:23:09.000000000 -0400
+@@ -1,6 +1,8 @@
+ #ifndef BSDDEFS_H_
+ #define BSDDEFS_H_ 1
+
++#include <sys/param.h>
++
+ #define SOL_TCP IPPROTO_TCP
+ #define TCP_CORK TCP_NOPUSH
+
+@@ -8,6 +10,7 @@
+ #define s6_addr16 __u6_addr.__u6_addr16
+ #define s6_addr32 __u6_addr.__u6_addr32
+
++#if __FreeBSD_version < 1000028
+ static inline char *
+ strchrnul (const char *s, int c_in)
+ {
+@@ -17,5 +20,6 @@
+
+ return (char *) s;
+ }
++#endif
+
+ #endif