pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libprelude Fix build problem on NetBSD 1.6, a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/68f3df0dc4c2
branches:  trunk
changeset: 507611:68f3df0dc4c2
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Sun Feb 05 13:23:14 2006 +0000

description:
Fix build problem on NetBSD 1.6, and possibly other operating systems, where
ENOTSUP is not defined.

diffstat:

 security/libprelude/distinfo         |   3 ++-
 security/libprelude/patches/patch-ad |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 169a861ff2b1 -r 68f3df0dc4c2 security/libprelude/distinfo
--- a/security/libprelude/distinfo      Sun Feb 05 13:15:52 2006 +0000
+++ b/security/libprelude/distinfo      Sun Feb 05 13:23:14 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2006/01/31 10:44:45 shannonjr Exp $
+$NetBSD: distinfo,v 1.3 2006/02/05 13:23:14 shannonjr Exp $
 
 SHA1 (libprelude-0.9.4.tar.gz) = e300561bbbdcdbba4e4d9ca9fafc0529b546c7d0
 RMD160 (libprelude-0.9.4.tar.gz) = de86fa000d1b23d3cbc69a013571670d9070a874
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 1d788517feb2ef687777ae6640033d9f177b07f8
 SHA1 (patch-ab) = 592f42a6d9217c502eb49e8fb0ba7d17a49f2ada
 SHA1 (patch-ac) = 34f11cdf22cbdc843ed0db6ea017a56b2ec780ca
+SHA1 (patch-ad) = 3947ebbf63bee2f657d39dc13b53be35bfea1edd
diff -r 169a861ff2b1 -r 68f3df0dc4c2 security/libprelude/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libprelude/patches/patch-ad      Sun Feb 05 13:23:14 2006 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index