pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/libesmtp libesmtp: Set _XOPEN_SOURCE correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab0d40e1e7ba
branches:  trunk
changeset: 311024:ab0d40e1e7ba
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jul 30 13:38:08 2018 +0000

description:
libesmtp: Set _XOPEN_SOURCE correctly.

diffstat:

 mail/libesmtp/distinfo                         |   3 ++-
 mail/libesmtp/patches/patch-ntlm_client-ntlm.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r f52f415c06af -r ab0d40e1e7ba mail/libesmtp/distinfo
--- a/mail/libesmtp/distinfo    Mon Jul 30 12:48:48 2018 +0000
+++ b/mail/libesmtp/distinfo    Mon Jul 30 13:38:08 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 23:27:08 agc Exp $
+$NetBSD: distinfo,v 1.14 2018/07/30 13:38:08 jperkin Exp $
 
 SHA1 (libesmtp-1.0.6.tar.bz2) = cf538cfc6cb15d9d99bdeb20a3b3b6b320d97df3
 RMD160 (libesmtp-1.0.6.tar.bz2) = 7489ef298b56085f8788a3af4d17aed4ef0f1077
@@ -6,3 +6,4 @@
 Size (libesmtp-1.0.6.tar.bz2) = 365506 bytes
 SHA1 (patch-ab) = cc027b93ae55b84c1b569ddcdd2644d4f63a33a5
 SHA1 (patch-ae) = b4ef8a1c015483824d1897c5ef72b8ed2a158860
+SHA1 (patch-ntlm_client-ntlm.c) = a04522eb54bb6a8869e59ed5c4963ef194c4e446
diff -r f52f415c06af -r ab0d40e1e7ba mail/libesmtp/patches/patch-ntlm_client-ntlm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libesmtp/patches/patch-ntlm_client-ntlm.c    Mon Jul 30 13:38:08 2018 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ntlm_client-ntlm.c,v 1.1 2018/07/30 13:38:08 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- ntlm/client-ntlm.c.orig    2010-08-08 15:45:56.000000000 +0000
++++ ntlm/client-ntlm.c
+@@ -21,7 +21,11 @@
+  *  License along with this library; if not, write to the Free Software
+  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+  */
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++#else
++#define _XOPEN_SOURCE 600
++#endif
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif



Home | Main Index | Thread Index | Old Index