summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-03-23 15:11:32 +0000
committerminskim <minskim@pkgsrc.org>2005-03-23 15:11:32 +0000
commit217888745d1eb4464deaaad4a191b810b82f3f5d (patch)
tree540d003cf290de884315f19fe6020bb1550d0332 /devel
parent78af8f89f7c3a592b842d4ab3ef21b059ee2a769 (diff)
downloadpkgsrc-217888745d1eb4464deaaad4a191b810b82f3f5d.tar.gz
Use NS_MAXDNAME if MAXDNAME is undefined, because some platforms don't
include old bind headers automatically (e.g. Darwin).
Diffstat (limited to 'devel')
-rw-r--r--devel/generate/distinfo3
-rw-r--r--devel/generate/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/generate/distinfo b/devel/generate/distinfo
index e31102e69b7..1e6bf825690 100644
--- a/devel/generate/distinfo
+++ b/devel/generate/distinfo
@@ -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 --git a/devel/generate/patches/patch-ab b/devel/generate/patches/patch-ab
new file mode 100644
index 00000000000..b02a1bf42fd
--- /dev/null
+++ b/devel/generate/patches/patch-ab
@@ -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 *