pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postfix-current Make this compile on NetBSD 2.1. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01732b5f1238
branches:  trunk
changeset: 502992:01732b5f1238
user:      martti <martti%pkgsrc.org@localhost>
date:      Sat Nov 12 05:23:17 2005 +0000

description:
Make this compile on NetBSD 2.1. Does not affect other versions so no
version bump. Fixes same problem as pkg/31952.

diffstat:

 mail/postfix-current/distinfo         |   4 ++--
 mail/postfix-current/patches/patch-ag |  22 ++++++++++++++--------
 2 files changed, 16 insertions(+), 10 deletions(-)

diffs (50 lines):

diff -r 7ceb9d8e24be -r 01732b5f1238 mail/postfix-current/distinfo
--- a/mail/postfix-current/distinfo     Sat Nov 12 05:19:24 2005 +0000
+++ b/mail/postfix-current/distinfo     Sat Nov 12 05:23:17 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2005/09/30 06:04:32 martti Exp $
+$NetBSD: distinfo,v 1.15 2005/11/12 05:23:17 martti Exp $
 
 SHA1 (postfix/postfix-2.3-20050922.tar.gz) = 392548fef18c860bc6d75155f0e6b259fd4489a5
 RMD160 (postfix/postfix-2.3-20050922.tar.gz) = 848bcfcc5e044fdae3f42ed384bbc7bea98a1ae5
@@ -6,5 +6,5 @@
 SHA1 (patch-aa) = 3f45ca9b05bf080bd0f9ef3c9f8c24a1ef992edd
 SHA1 (patch-ab) = aa08339399411b8c1e12856f6b5f8406b7775840
 SHA1 (patch-ac) = 1b0fb6da368b65ccd6e47c94ff867f0169aaa839
-SHA1 (patch-ag) = 9285c62239419876ee3351250dcc29984c39d958
+SHA1 (patch-ag) = fec766c4172e39a26aabb53fc10f4f7a97d47f8b
 SHA1 (patch-ai) = adc9996118adc6162efbec21d6aa491e6962706b
diff -r 7ceb9d8e24be -r 01732b5f1238 mail/postfix-current/patches/patch-ag
--- a/mail/postfix-current/patches/patch-ag     Sat Nov 12 05:19:24 2005 +0000
+++ b/mail/postfix-current/patches/patch-ag     Sat Nov 12 05:23:17 2005 +0000
@@ -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 @@
  #define STATFS_IN_SYS_MOUNT_H
 +#endif
  #define HAS_POSIX_REGEXP
- #define NORETURN      void
- #define PRINTFLIKE(x,y)



Home | Main Index | Thread Index | Old Index