diff options
-rw-r--r-- | security/libident/distinfo | 3 | ||||
-rw-r--r-- | security/libident/patches/patch-id__open.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/security/libident/distinfo b/security/libident/distinfo index faf91888083..42c5b66827d 100644 --- a/security/libident/distinfo +++ b/security/libident/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2007/08/25 14:00:20 obache Exp $ +$NetBSD: distinfo,v 1.7 2013/12/13 10:46:40 jperkin Exp $ SHA1 (libident-0.32.tar.gz) = 4658807b017f21928a64f3442ee3a2b91f48d14e RMD160 (libident-0.32.tar.gz) = 45c01b3c54a441b085ea3b8dc451eb8c33b7bd2e Size (libident-0.32.tar.gz) = 294241 bytes +SHA1 (patch-id__open.c) = c90abc705e2ae412b39b2780c35f0ad5e0034bb4 diff --git a/security/libident/patches/patch-id__open.c b/security/libident/patches/patch-id__open.c new file mode 100644 index 00000000000..9bdb61bdff4 --- /dev/null +++ b/security/libident/patches/patch-id__open.c @@ -0,0 +1,16 @@ +$NetBSD: patch-id__open.c,v 1.1 2013/12/13 10:46:40 jperkin Exp $ + +Need sys/file.h for FNDELAY on SunOS. + +--- id_open.c.orig 2004-01-18 17:21:28.000000000 +0000 ++++ id_open.c +@@ -30,6 +30,9 @@ + # endif + #endif + ++#ifdef __sun ++#include <sys/file.h> ++#endif + + #define IN_LIBIDENT_SRC + #include "ident.h" |