From 2c7c9b104c0f5a7fbb4664e80f1114de40729a1f Mon Sep 17 00:00:00 2001 From: kim Date: Fri, 17 Dec 2004 19:36:01 +0000 Subject: Make this compile on -current without NI_WITHSCOPEID Closes PR pkg/28686 --- mail/postfix/distinfo | 3 ++- mail/postfix/patches/patch-aj | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 mail/postfix/patches/patch-aj (limited to 'mail/postfix') diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index 356b681d694..03d40cbf5eb 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.77 2004/11/30 20:54:38 jlam Exp $ +$NetBSD: distinfo,v 1.78 2004/12/17 19:36:01 kim Exp $ SHA1 (postfix/postfix-2.1.5.tar.gz) = bbc65c9fdc1cbd8e553816a5549b2685255cf69d Size (postfix/postfix-2.1.5.tar.gz) = 1971931 bytes @@ -12,3 +12,4 @@ SHA1 (patch-aa) = 279b54f19289b56a423214716386c5aab79a57d5 SHA1 (patch-ab) = c506a08b694f94ef4884fa97eec51e44c92812dd SHA1 (patch-ag) = d5e9aab43b5d3be6df9ad8e3f03572b9a228f784 SHA1 (patch-ai) = f166c2d52bfb8a441db22a9090312c0a2de56a6f +SHA1 (patch-aj) = c2e79b1954dae272e22bb38bf3c0586f1b7c9543 diff --git a/mail/postfix/patches/patch-aj b/mail/postfix/patches/patch-aj new file mode 100644 index 00000000000..73618697258 --- /dev/null +++ b/mail/postfix/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.6 2004/12/17 19:36:01 kim Exp $ + +--- src/util/inet_addr_list.h.orig 2004-12-17 04:30:07.000000000 -0500 ++++ src/util/inet_addr_list.h 2004-12-17 04:36:47.000000000 -0500 +@@ -58,7 +58,7 @@ + * Only on KAME? Use without implementation will result in EAI_BADFLAGS. + */ + #ifdef INET6 +-# ifndef INET6_KAME ++# if !defined(INET6_KAME) || (defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 299001100)) + # ifdef NI_WITHSCOPEID + # undef NI_WITHSCOPEID + # endif -- cgit v1.2.3