pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/31952 postfix 2.2.5 does not build on 2.1-RELEASE
The following reply was made to PR pkg/31952; it has been noted by GNATS.
From: Peter Eisch <peter%boku.net@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc:
Subject: Re: pkg/31952 postfix 2.2.5 does not build on 2.1-RELEASE
Date: Thu, 10 Nov 2005 22:03:01 -0600
It seems as though someone committed a change to Postfix that assumes that
it's being built against -current or 3.x. Many of us, though, don't run
-current in production but would like to use a pkgsrc version of postfix
that includes sasl or tls.
I am not yet a pkgsrc samurai, so I cannot provide an exact patch, but my
stab at a solution would be to fix patch-ag to also include something like:
--- src/util/sys_defs.h.orig 2005-07-11 15:00:38.000000000 -0500
+++ src/util/sys_defs.h 2005-11-10 21:10:47.000000000 -0600
@@ -50,7 +50,7 @@
#endif
#define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
#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
# define STATVFS_IN_SYS_STATVFS_H
#else
@@ -122,7 +122,7 @@
#define SOCKOPT_SIZE socklen_t
#endif
-#if __NetBSD_Version__ >= 200060000 /* 2.0F */
+#if __NetBSD_Version__ >= 299000900 /* 2.0F */
#define HAS_CLOSEFROM
#endif
peter
Home |
Main Index |
Thread Index |
Old Index