pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/mate-utils mate-utils: Set _XOPEN_SOURCE correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cd91fa2dfbc
branches:  trunk
changeset: 375231:4cd91fa2dfbc
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Feb 06 10:07:23 2018 +0000

description:
mate-utils: Set _XOPEN_SOURCE correctly.

diffstat:

 misc/mate-utils/distinfo                                  |   3 +-
 misc/mate-utils/patches/patch-logview_src_logview-utils.c |  17 +++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r b487318541a7 -r 4cd91fa2dfbc misc/mate-utils/distinfo
--- a/misc/mate-utils/distinfo  Tue Feb 06 10:06:50 2018 +0000
+++ b/misc/mate-utils/distinfo  Tue Feb 06 10:07:23 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/06/23 17:31:32 youri Exp $
+$NetBSD: distinfo,v 1.3 2018/02/06 10:07:23 jperkin Exp $
 
 SHA1 (mate-utils-1.18.2.tar.xz) = 73111d0cc6aa7dc80f96cacfcbc73ecbea303a7a
 RMD160 (mate-utils-1.18.2.tar.xz) = 1d5928c51d8710cb5fbcf0a58e1fe6fdbaea5df8
 SHA512 (mate-utils-1.18.2.tar.xz) = 4db4dd0ad986c52978a9fe7f893a0e1d8086b1685d8b162df9b7e7b33c9d8e47a85efc45f2db4cf45058cc91df3f909ece1b44e46c16a1a389070d8cd022348d
 Size (mate-utils-1.18.2.tar.xz) = 6442576 bytes
+SHA1 (patch-logview_src_logview-utils.c) = 218670ddcc013c31d75e7654acf138e4153c0be9
diff -r b487318541a7 -r 4cd91fa2dfbc misc/mate-utils/patches/patch-logview_src_logview-utils.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mate-utils/patches/patch-logview_src_logview-utils.c Tue Feb 06 10:07:23 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-logview_src_logview-utils.c,v 1.1 2018/02/06 10:07:23 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- logview/src/logview-utils.c.orig   2016-04-07 14:12:36.000000000 +0000
++++ logview/src/logview-utils.c
+@@ -23,8 +23,10 @@
+ #include <config.h>
+ #endif
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE
+ #define _XOPEN_SOURCE_EXTENDED 1 /* strptime is XPG4v2 */
++#endif
+ #include <time.h>
+ #include <string.h>
+ #include <stdlib.h>



Home | Main Index | Thread Index | Old Index