summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-13 10:46:40 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-13 10:46:40 +0000
commitd8d3fca5a5ed10a54b457db1acd9bc1931a68058 (patch)
tree3f8361d6a644ad9525335cb8269c5ca880821416
parenta26be1e2fe22b34a5a09e3470539f1b436c63054 (diff)
downloadpkgsrc-d8d3fca5a5ed10a54b457db1acd9bc1931a68058.tar.gz
Need sys/file.h for FNDELAY on SunOS.
-rw-r--r--security/libident/distinfo3
-rw-r--r--security/libident/patches/patch-id__open.c16
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"