pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/postfix



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Sep 10 15:26:35 UTC 2025

Modified Files:
        pkgsrc/mail/postfix: distinfo
Added Files:
        pkgsrc/mail/postfix/patches: patch-src_util_dict__dbm.c

Log Message:
postfix: Backport build fix from upstream.


To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 pkgsrc/mail/postfix/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/postfix/patches/patch-src_util_dict__dbm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/postfix/distinfo
diff -u pkgsrc/mail/postfix/distinfo:1.216 pkgsrc/mail/postfix/distinfo:1.217
--- pkgsrc/mail/postfix/distinfo:1.216  Sun Aug 24 22:07:34 2025
+++ pkgsrc/mail/postfix/distinfo        Wed Sep 10 15:26:35 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.216 2025/08/24 22:07:34 taca Exp $
+$NetBSD: distinfo,v 1.217 2025/09/10 15:26:35 jperkin Exp $
 
 BLAKE2s (postfix-3.10.4.tar.gz) = 2fdec417dabeb8cd2536baec5e9a2477264d1792300f5edd0930a758685127ab
 SHA512 (postfix-3.10.4.tar.gz) = da3a581551670ad4aa595ab50a8dd0bbe7d9e93ee354342c778ae1b461aa7bad9a640e4a55e27b025975c47c92f8238c8d281e1ca5bd1579a009d81ce06924d9
@@ -10,3 +10,4 @@ SHA1 (patch-src_smtpd_Makefile.in) = 813
 SHA1 (patch-src_smtpd_pfilter.c) = c747d2f3584f694eb7b73b19118b4d8b450cfe7f
 SHA1 (patch-src_smtpd_pfilter.h) = 153b516da89d709d293c6086c2f126791bd945d6
 SHA1 (patch-src_smtpd_smtpd.c) = 594211aa17979daa4ca7123fabe5df06250f5093
+SHA1 (patch-src_util_dict__dbm.c) = bbf1b23b6f08feb77161fb279c812a84b5b13417

Added files:

Index: pkgsrc/mail/postfix/patches/patch-src_util_dict__dbm.c
diff -u /dev/null pkgsrc/mail/postfix/patches/patch-src_util_dict__dbm.c:1.1
--- /dev/null   Wed Sep 10 15:26:35 2025
+++ pkgsrc/mail/postfix/patches/patch-src_util_dict__dbm.c      Wed Sep 10 15:26:35 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_util_dict__dbm.c,v 1.1 2025/09/10 15:26:35 jperkin Exp $
+
+Backport build fix from upstream.
+
+--- src/util/dict_dbm.c.orig   2025-09-10 14:45:29.373697799 +0000
++++ src/util/dict_dbm.c
+@@ -472,7 +472,7 @@ DICT   *dict_dbm_open(const char *path,
+       msg_fatal("open database %s: cannot support GDBM", path);
+     if (fstat(dict_dbm->dict.stat_fd, &st) < 0)
+       msg_fatal("dict_dbm_open: fstat: %m");
+-    if (open_mode == O_RDONLY)
++    if (open_flags == O_RDONLY)
+       dict_dbm->dict.mtime = st.st_mtime;
+     dict_dbm->dict.owner.uid = st.st_uid;
+     dict_dbm->dict.owner.status = (st.st_uid != 0);



Home | Main Index | Thread Index | Old Index