summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2005-11-12 05:23:17 +0000
committermartti <martti@pkgsrc.org>2005-11-12 05:23:17 +0000
commitb039cae64379189bccb4a5027468895455a50a22 (patch)
tree6f3195612eda2b8112dca2a0795d6d1a8f25d0af /mail/postfix-current/patches
parentab66cadf03e8c36f4c6fb11e08b128b8b0c3b796 (diff)
downloadpkgsrc-b039cae64379189bccb4a5027468895455a50a22.tar.gz
Make this compile on NetBSD 2.1. Does not affect other versions so no
version bump. Fixes same problem as pkg/31952.
Diffstat (limited to 'mail/postfix-current/patches')
-rw-r--r--mail/postfix-current/patches/patch-ag22
1 files changed, 14 insertions, 8 deletions
diff --git a/mail/postfix-current/patches/patch-ag b/mail/postfix-current/patches/patch-ag
index abccb3022ed..dc6a7dcad86 100644
--- a/mail/postfix-current/patches/patch-ag
+++ b/mail/postfix-current/patches/patch-ag
@@ -1,10 +1,18 @@
-$NetBSD: patch-ag,v 1.9 2005/09/30 06:04:32 martti Exp $
+$NetBSD: patch-ag,v 1.10 2005/11/12 05:23:17 martti Exp $
---- src/util/sys_defs.h.orig 2005-07-15 00:28:33.000000000 +0300
-+++ src/util/sys_defs.h 2005-09-30 05:52:00.000000000 +0300
-@@ -155,9 +155,15 @@
- #define DEF_DB_TYPE "hash"
- #define ALIAS_DB_MAP "hash:/etc/aliases"
+--- src/util/sys_defs.h.orig 2005-07-11 23:00:38.000000000 +0300
++++ src/util/sys_defs.h 2005-11-11 06:01:49.000000000 +0200
+@@ -52,3 +52,3 @@
+ #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
+-#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 200040000)
++#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 299000900)
+ # define USE_STATVFS
+@@ -124,3 +124,3 @@
+
+-#if __NetBSD_Version__ >= 200060000 /* 2.0F */
++#if __NetBSD_Version__ >= 299000900 /* 2.99.9 */
+ #define HAS_CLOSEFROM
+@@ -157,5 +157,11 @@
#define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
+#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H
#define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
@@ -16,5 +24,3 @@ $NetBSD: patch-ag,v 1.9 2005/09/30 06:04:32 martti Exp $
#define STATFS_IN_SYS_MOUNT_H
+#endif
#define HAS_POSIX_REGEXP
- #define NORETURN void
- #define PRINTFLIKE(x,y)