pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/eog eog: Ensure _XOPEN_SOURCE is...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f07f47444ab
branches: trunk
changeset: 308109:4f07f47444ab
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed May 16 13:13:32 2018 +0000
description:
eog: Ensure _XOPEN_SOURCE is set correctly on SunOS.
diffstat:
graphics/eog/distinfo | 4 +++-
graphics/eog/patches/patch-src_eog-exif-util.c | 15 +++++++++++++++
graphics/eog/patches/patch-src_eog-util.c | 15 +++++++++++++++
3 files changed, 33 insertions(+), 1 deletions(-)
diffs (51 lines):
diff -r 1f8aa098def7 -r 4f07f47444ab graphics/eog/distinfo
--- a/graphics/eog/distinfo Wed May 16 12:42:19 2018 +0000
+++ b/graphics/eog/distinfo Wed May 16 13:13:32 2018 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.25 2015/11/03 21:33:56 agc Exp $
+$NetBSD: distinfo,v 1.26 2018/05/16 13:13:32 jperkin Exp $
SHA1 (eog-2.32.1.tar.bz2) = 40fe8ec6bc6cbc118e9ce538e40f8c86b5709a51
RMD160 (eog-2.32.1.tar.bz2) = 3e3a3a4ac51b97a13f278a11ec0bfa90f25b6af2
SHA512 (eog-2.32.1.tar.bz2) = d14a7287389e10d0356ea2a0ed5771b8ba94fa8b7c3eca3bbb003d535a5416b84b02d4868faa3a7eeddb99c70a0d46a6bd0fdc59fc1170f4447d4967b1d63834
Size (eog-2.32.1.tar.bz2) = 2804681 bytes
+SHA1 (patch-src_eog-exif-util.c) = cb02f8e4e5435bd3709747f166f7fa74244cdb48
+SHA1 (patch-src_eog-util.c) = ca2a64707310b3bd6f796cbfc10f82f6874e07b2
diff -r 1f8aa098def7 -r 4f07f47444ab graphics/eog/patches/patch-src_eog-exif-util.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/eog/patches/patch-src_eog-exif-util.c Wed May 16 13:13:32 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_eog-exif-util.c,v 1.1 2018/05/16 13:13:32 jperkin Exp $
+
+Ensure _XOPEN_SOURCE is set correctly on SunOS.
+
+--- src/eog-exif-util.c.orig 2009-08-11 10:49:55.000000000 +0000
++++ src/eog-exif-util.c
+@@ -28,7 +28,7 @@
+ #include "config.h"
+ #endif
+
+-#ifdef HAVE_STRPTIME
++#if defined(HAVE_STRPTIME) && (!defined(__sun) || (!defined(_XOPEN_SOURCE) && (__STDC_VERSION__-0 < 199901L)))
+ #define _XOPEN_SOURCE
+ #endif
+ #include <time.h>
diff -r 1f8aa098def7 -r 4f07f47444ab graphics/eog/patches/patch-src_eog-util.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/eog/patches/patch-src_eog-util.c Wed May 16 13:13:32 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_eog-util.c,v 1.1 2018/05/16 13:13:32 jperkin Exp $
+
+Ensure _XOPEN_SOURCE is set correctly on SunOS.
+
+--- src/eog-util.c.orig 2010-11-13 13:16:52.000000000 +0000
++++ src/eog-util.c
+@@ -27,7 +27,7 @@
+ #endif
+
+ #include <sys/time.h>
+-#ifdef HAVE_STRPTIME
++#if defined(HAVE_STRPTIME) && (!defined(__sun) || (!defined(_XOPEN_SOURCE) && (__STDC_VERSION__-0 < 199901L)))
+ #define _XOPEN_SOURCE
+ #endif /* HAVE_STRPTIME */
+
Home |
Main Index |
Thread Index |
Old Index