summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim>2005-03-23 15:11:32 +0000
committerminskim <minskim>2005-03-23 15:11:32 +0000
commit5c95719e49c2353bb8cac5293e5b5075db92cc53 (patch)
tree540d003cf290de884315f19fe6020bb1550d0332 /devel
parent36d1e734a6c9cfad0e07d256ae6c7ed8b61a06ae (diff)
downloadpkgsrc-5c95719e49c2353bb8cac5293e5b5075db92cc53.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 *