diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-02-06 10:07:23 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-02-06 10:07:23 +0000 |
commit | 072910bb037ca7fc2897fb7544ff4aba8bc78e89 (patch) | |
tree | d27322e76341bf9790e1134da41fe0e5f5efea2e /misc/mate-utils | |
parent | 468b0615a05736d758e3f0b49008f801bd181c06 (diff) | |
download | pkgsrc-072910bb037ca7fc2897fb7544ff4aba8bc78e89.tar.gz |
mate-utils: Set _XOPEN_SOURCE correctly.
Diffstat (limited to 'misc/mate-utils')
-rw-r--r-- | misc/mate-utils/distinfo | 3 | ||||
-rw-r--r-- | misc/mate-utils/patches/patch-logview_src_logview-utils.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/misc/mate-utils/distinfo b/misc/mate-utils/distinfo index f2297f14ad9..677a597ee04 100644 --- a/misc/mate-utils/distinfo +++ b/misc/mate-utils/distinfo @@ -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 --git a/misc/mate-utils/patches/patch-logview_src_logview-utils.c b/misc/mate-utils/patches/patch-logview_src_logview-utils.c new file mode 100644 index 00000000000..ffb81c4be9c --- /dev/null +++ b/misc/mate-utils/patches/patch-logview_src_logview-utils.c @@ -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> |