summaryrefslogtreecommitdiff
path: root/security/libprelude/patches
diff options
context:
space:
mode:
authorshannonjr <shannonjr>2006-02-05 13:23:14 +0000
committershannonjr <shannonjr>2006-02-05 13:23:14 +0000
commit19fc938fcd1c18d9826d94a69f5d35c5ab24c70c (patch)
tree265007f16cb6b0460acdbe2e34da33b77c49da37 /security/libprelude/patches
parent82bd55056cd5de38c955d5260715b24c762aa37c (diff)
downloadpkgsrc-19fc938fcd1c18d9826d94a69f5d35c5ab24c70c.tar.gz
Fix build problem on NetBSD 1.6, and possibly other operating systems, where
ENOTSUP is not defined.
Diffstat (limited to 'security/libprelude/patches')
-rw-r--r--security/libprelude/patches/patch-ad14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/libprelude/patches/patch-ad b/security/libprelude/patches/patch-ad
new file mode 100644
index 00000000000..e6e06df48f0
--- /dev/null
+++ b/security/libprelude/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2006/02/05 13:23:14 shannonjr Exp $
+
+--- ./src/prelude-io.c.orig 2006-01-28 07:48:36.000000000 -0700
++++ ./src/prelude-io.c
+@@ -28,6 +28,9 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <errno.h>
++#ifndef ENOTSUP
++# define ENOTSUP EINVAL
++#endif
+ #include <sys/poll.h>
+ #include <sys/ioctl.h>
+ #include <netinet/in.h>