pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/mailfront Build on systems without O_DIRECTORY.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b3fa5e20512
branches: trunk
changeset: 367009:7b3fa5e20512
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Aug 21 18:16:29 2017 +0000
description:
Build on systems without O_DIRECTORY.
diffstat:
mail/mailfront/distinfo | 3 ++-
mail/mailfront/patches/patch-queuedir.c | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 8c3727ee8fdf -r 7b3fa5e20512 mail/mailfront/distinfo
--- a/mail/mailfront/distinfo Mon Aug 21 15:52:48 2017 +0000
+++ b/mail/mailfront/distinfo Mon Aug 21 18:16:29 2017 +0000
@@ -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 @@
Size (mailfront-2.12.tar.gz) = 123228 bytes
SHA1 (patch-INSTHIER) = 84e52ccc8e86c329f27b97c22e95669962f3595f
SHA1 (patch-Makefile) = 5f15651bc170f773d9fe3f98a69c1251c68fed16
+SHA1 (patch-queuedir.c) = 09a63fd72f389d013b46185d8c82a7193e125d86
diff -r 8c3727ee8fdf -r 7b3fa5e20512 mail/mailfront/patches/patch-queuedir.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mailfront/patches/patch-queuedir.c Mon Aug 21 18:16:29 2017 +0000
@@ -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