pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/qmail-autoresponder
Module Name: pkgsrc
Committed By: schmonz
Date: Mon Dec 17 16:15:29 UTC 2018
Modified Files:
pkgsrc/mail/qmail-autoresponder: distinfo
pkgsrc/mail/qmail-autoresponder/patches: patch-options.c
Log Message:
Handle _XOPEN_SOURCE on SunOS. Should fix SmartOS build.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/qmail-autoresponder/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/mail/qmail-autoresponder/patches/patch-options.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/qmail-autoresponder/distinfo
diff -u pkgsrc/mail/qmail-autoresponder/distinfo:1.2 pkgsrc/mail/qmail-autoresponder/distinfo:1.3
--- pkgsrc/mail/qmail-autoresponder/distinfo:1.2 Sat Apr 14 00:56:24 2018
+++ pkgsrc/mail/qmail-autoresponder/distinfo Mon Dec 17 16:15:28 2018
@@ -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
Index: pkgsrc/mail/qmail-autoresponder/patches/patch-options.c
diff -u pkgsrc/mail/qmail-autoresponder/patches/patch-options.c:1.1 pkgsrc/mail/qmail-autoresponder/patches/patch-options.c:1.2
--- pkgsrc/mail/qmail-autoresponder/patches/patch-options.c:1.1 Thu Sep 28 17:27:34 2017
+++ pkgsrc/mail/qmail-autoresponder/patches/patch-options.c Mon Dec 17 16:15:29 2018
@@ -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