pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/mailfront



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Aug 21 18:16:29 UTC 2017

Modified Files:
        pkgsrc/mail/mailfront: distinfo
Added Files:
        pkgsrc/mail/mailfront/patches: patch-queuedir.c

Log Message:
Build on systems without O_DIRECTORY.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/mailfront/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mailfront/patches/patch-queuedir.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/mailfront/distinfo
diff -u pkgsrc/mail/mailfront/distinfo:1.9 pkgsrc/mail/mailfront/distinfo:1.10
--- pkgsrc/mail/mailfront/distinfo:1.9  Tue Jan  3 13:56:41 2017
+++ pkgsrc/mail/mailfront/distinfo      Mon Aug 21 18:16:29 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2017/01/03 13:56:41 schmonz Exp $
+$NetBSD: distinfo,v 1.10 2017/08/21 18:16:29 schmonz Exp $
 
 SHA1 (mailfront-2.12.tar.gz) = 87715ddaf78ea98cab9c4d86dddc51e76d05d114
 RMD160 (mailfront-2.12.tar.gz) = cbef138672051eb631155c33163d1482fb193b1c
@@ -6,3 +6,4 @@ SHA512 (mailfront-2.12.tar.gz) = 7d98b32
 Size (mailfront-2.12.tar.gz) = 123228 bytes
 SHA1 (patch-INSTHIER) = 84e52ccc8e86c329f27b97c22e95669962f3595f
 SHA1 (patch-Makefile) = 5f15651bc170f773d9fe3f98a69c1251c68fed16
+SHA1 (patch-queuedir.c) = 09a63fd72f389d013b46185d8c82a7193e125d86

Added files:

Index: pkgsrc/mail/mailfront/patches/patch-queuedir.c
diff -u /dev/null pkgsrc/mail/mailfront/patches/patch-queuedir.c:1.1
--- /dev/null   Mon Aug 21 18:16:29 2017
+++ pkgsrc/mail/mailfront/patches/patch-queuedir.c      Mon Aug 21 18:16:29 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-queuedir.c,v 1.1 2017/08/21 18:16:29 schmonz Exp $
+
+Build on systems without O_DIRECTORY.
+
+--- queuedir.c.orig    2015-02-12 14:10:37.000000000 +0000
++++ queuedir.c
+@@ -166,6 +166,9 @@ const response* queuedir_message_end(int
+     return &resp_writeerr;
+   }
+   if (dosync) {
++#ifndef O_DIRECTORY
++#define O_DIRECTORY O_RDONLY
++#endif
+     if ((fd = open(destpath.s, O_DIRECTORY | O_RDONLY)) < 0) {
+       queuedir_reset();
+       return &resp_internal;



Home | Main Index | Thread Index | Old Index