pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/generate Use NS_MAXDNAME if MAXDNAME is undefine...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58b63b9c4fef
branches:  trunk
changeset: 491360:58b63b9c4fef
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Mar 23 15:11:32 2005 +0000

description:
Use NS_MAXDNAME if MAXDNAME is undefined, because some platforms don't
include old bind headers automatically (e.g. Darwin).

diffstat:

 devel/generate/distinfo         |   3 ++-
 devel/generate/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e28af16b56a1 -r 58b63b9c4fef devel/generate/distinfo
--- a/devel/generate/distinfo   Wed Mar 23 15:05:16 2005 +0000
+++ b/devel/generate/distinfo   Wed Mar 23 15:11:32 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 22:24:14 agc Exp $
+$NetBSD: distinfo,v 1.8 2005/03/23 15:11:32 minskim Exp $
 
 SHA1 (generate-2.2.tgz) = fbd17b29226f683edc80f96b660c3e74fbec05c9
 RMD160 (generate-2.2.tgz) = 2bbbc1c3182cf4b38fafe2c978b2b343d4671b79
 Size (generate-2.2.tgz) = 28661 bytes
 SHA1 (patch-aa) = 2ceafdac084bc7e1cbc0ee55eac65091b21bf380
+SHA1 (patch-ab) = bf59e2eb69975e88037a72c74e53f92c7ce15314
diff -r e28af16b56a1 -r 58b63b9c4fef devel/generate/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/generate/patches/patch-ab   Wed Mar 23 15:11:32 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.3 2005/03/23 15:11:32 minskim Exp $
+
+--- sockunix.c.orig    Tue Jan  4 07:15:47 2005
++++ sockunix.c
+@@ -21,6 +21,10 @@
+ #include      <netdb.h>
+ #include      <errno.h>
+ 
++#ifndef MAXDNAME
++#define MAXDNAME NS_MAXDNAME
++#endif
++
+ FILE *sock_open(const char *str, const char *mode);
+ 
+ FILE *



Home | Main Index | Thread Index | Old Index