pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/eom eom: Set _XOPEN_SOURCE correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e9b3edf2f5c
branches:  trunk
changeset: 375324:6e9b3edf2f5c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Feb 08 17:01:34 2018 +0000

description:
eom: Set _XOPEN_SOURCE correctly.

diffstat:

 graphics/eom/distinfo                          |   3 ++-
 graphics/eom/patches/patch-src_eom-exif-util.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r f7b9434bbc3a -r 6e9b3edf2f5c graphics/eom/distinfo
--- a/graphics/eom/distinfo     Thu Feb 08 16:50:22 2018 +0000
+++ b/graphics/eom/distinfo     Thu Feb 08 17:01:34 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2017/06/23 17:10:44 youri Exp $
+$NetBSD: distinfo,v 1.4 2018/02/08 17:01:34 jperkin Exp $
 
 SHA1 (eom-1.18.2.tar.xz) = 76d69612b910c89070b96de426de51b5b55b3631
 RMD160 (eom-1.18.2.tar.xz) = 9366dd2293e606e55b6be2bc4bbb504d8dc4a6d1
 SHA512 (eom-1.18.2.tar.xz) = d0d8aaa7837564fafd949da26e477e675a6cbecf6efd799ea0f29ba23800d4df36147f83bf059dcf38f9c4a9601e8501ec78065e02125fb18261011e1c3ac12c
 Size (eom-1.18.2.tar.xz) = 2196228 bytes
+SHA1 (patch-src_eom-exif-util.c) = 13a3d69553564278e9beae5c84adcf83b7591f20
diff -r f7b9434bbc3a -r 6e9b3edf2f5c graphics/eom/patches/patch-src_eom-exif-util.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/eom/patches/patch-src_eom-exif-util.c    Thu Feb 08 17:01:34 2018 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_eom-exif-util.c,v 1.1 2018/02/08 17:01:34 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/eom-exif-util.c.orig   2017-01-15 09:31:32.000000000 +0000
++++ src/eom-exif-util.c
+@@ -29,9 +29,11 @@
+ #endif
+ 
+ #ifdef HAVE_STRPTIME
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE
+ #define _XOPEN_SOURCE_EXTENDED 1
+ #endif
++#endif
+ #include <time.h>
+ 
+ #include "eom-exif-util.h"



Home | Main Index | Thread Index | Old Index