pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/qmail-autoresponder Handle _XOPEN_SOURCE on SunOS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/62407edb1725
branches: trunk
changeset: 389010:62407edb1725
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Dec 17 16:15:28 2018 +0000
description:
Handle _XOPEN_SOURCE on SunOS. Should fix SmartOS build.
diffstat:
mail/qmail-autoresponder/distinfo | 4 ++--
mail/qmail-autoresponder/patches/patch-options.c | 16 ++++++++++++----
2 files changed, 14 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 875431e99c01 -r 62407edb1725 mail/qmail-autoresponder/distinfo
--- a/mail/qmail-autoresponder/distinfo Mon Dec 17 16:07:09 2018 +0000
+++ b/mail/qmail-autoresponder/distinfo Mon Dec 17 16:15:28 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2018/04/14 00:56:24 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2018/12/17 16:15:28 schmonz Exp $
SHA1 (qmail-autoresponder-2.0.tar.gz) = 623e44450c3886fbd96d155d1bee3227f5c3fe8d
RMD160 (qmail-autoresponder-2.0.tar.gz) = d2af01d082cf087bf6c1fae3ee1c4b834b089ec7
SHA512 (qmail-autoresponder-2.0.tar.gz) = d1223b65453cb7c88de5b22a20a961441810e6db1d80ca976599b88cc5771602a678599354b11586e56273c02502b621cfffb610e9ff33632e4a7d7c28766ccb
Size (qmail-autoresponder-2.0.tar.gz) = 35463 bytes
SHA1 (patch-Makefile) = 6db92ac78fb8c498436264f1fb88213a8fec2c86
-SHA1 (patch-options.c) = b232156cf689d4ec1a1a98709c6dc283dff4bcc9
+SHA1 (patch-options.c) = 1939bb2811aa81b48702d02acebe40e06687609f
diff -r 875431e99c01 -r 62407edb1725 mail/qmail-autoresponder/patches/patch-options.c
--- a/mail/qmail-autoresponder/patches/patch-options.c Mon Dec 17 16:07:09 2018 +0000
+++ b/mail/qmail-autoresponder/patches/patch-options.c Mon Dec 17 16:15:28 2018 +0000
@@ -1,12 +1,20 @@
-$NetBSD: patch-options.c,v 1.1 2017/09/28 17:27:34 schmonz Exp $
+$NetBSD: patch-options.c,v 1.2 2018/12/17 16:15:29 schmonz Exp $
-Remove unneeded include.
+Remove unneeded include. Handle _XOPEN_SOURCE on SunOS.
---- options.c.orig 2017-08-22 23:38:24.000000000 +0000
+--- options.c.orig 2018-04-13 16:17:51.000000000 +0000
+++ options.c
-@@ -1,5 +1,4 @@
+@@ -1,5 +1,12 @@
++#if defined(__sun) && !defined(_XOPEN_SOURCE)
++# if (__STDC_VERSION__-0 < 199901L)
++#define _XOPEN_SOURCE 500
++# else
++#define _XOPEN_SOURCE 600
++# endif
++#else
#define _XOPEN_SOURCE
-#include <mysql/mysql.h>
++#endif
#include <stdlib.h>
#include <string.h>
#include <time.h>
Home |
Main Index |
Thread Index |
Old Index