diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-02-08 17:01:34 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-02-08 17:01:34 +0000 |
commit | bbdede0f5664b77b39c5db4bd8d91184dbc876d0 (patch) | |
tree | 9eff14461f7d464db2179e985b17fa16161d6ce0 /graphics | |
parent | beef4a300ac86453173adfa361463f4bd34b1608 (diff) | |
download | pkgsrc-bbdede0f5664b77b39c5db4bd8d91184dbc876d0.tar.gz |
eom: Set _XOPEN_SOURCE correctly.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/eom/distinfo | 3 | ||||
-rw-r--r-- | graphics/eom/patches/patch-src_eom-exif-util.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/eom/distinfo b/graphics/eom/distinfo index f852fe07bcf..b84f3de7690 100644 --- a/graphics/eom/distinfo +++ b/graphics/eom/distinfo @@ -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 --git a/graphics/eom/patches/patch-src_eom-exif-util.c b/graphics/eom/patches/patch-src_eom-exif-util.c new file mode 100644 index 00000000000..eb08a18adbd --- /dev/null +++ b/graphics/eom/patches/patch-src_eom-exif-util.c @@ -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" |