diff options
author | delphij <delphij@FreeBSD.org> | 2013-06-19 10:24:46 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-06-19 10:24:46 +0800 |
commit | 1d937d4c85d15220441082e5e656c54b8be1ee64 (patch) | |
tree | 1d8d04dfe5173a94a32f199908c10439f47347d0 /net | |
parent | 7a6c2177d5ee8fdc7f0612a302f7ec1817d8478c (diff) | |
download | freebsd-ports-gnome-1d937d4c85d15220441082e5e656c54b8be1ee64.tar.gz freebsd-ports-gnome-1d937d4c85d15220441082e5e656c54b8be1ee64.tar.zst freebsd-ports-gnome-1d937d4c85d15220441082e5e656c54b8be1ee64.zip |
Unbreak on recent -CURRENT.
Diffstat (limited to 'net')
-rw-r--r-- | net/iet/Makefile | 8 | ||||
-rw-r--r-- | net/iet/files/patch-freebsd10 | 36 |
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 |