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



Does this new patch-ag fix the problems?


$NetBSD: patch-ag,v 1.16 2005/09/06 08:10:58 abs Exp $

--- 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"
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 
*/
+#define USE_STATVFS
+#define STATVFS_IN_SYS_STATVFS_H
+#else
 #define USE_STATFS
 #define STATFS_IN_SYS_MOUNT_H
+#endif
 #define HAS_POSIX_REGEXP



Home | Main Index | Thread Index | Old Index