pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/eog



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed May 16 13:13:32 UTC 2018

Modified Files:
        pkgsrc/graphics/eog: distinfo
Added Files:
        pkgsrc/graphics/eog/patches: patch-src_eog-exif-util.c
            patch-src_eog-util.c

Log Message:
eog: Ensure _XOPEN_SOURCE is set correctly on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/graphics/eog/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/eog/patches/patch-src_eog-exif-util.c \
    pkgsrc/graphics/eog/patches/patch-src_eog-util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/eog/distinfo
diff -u pkgsrc/graphics/eog/distinfo:1.25 pkgsrc/graphics/eog/distinfo:1.26
--- pkgsrc/graphics/eog/distinfo:1.25   Tue Nov  3 21:33:56 2015
+++ pkgsrc/graphics/eog/distinfo        Wed May 16 13:13:32 2018
@@ -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

Added files:

Index: pkgsrc/graphics/eog/patches/patch-src_eog-exif-util.c
diff -u /dev/null pkgsrc/graphics/eog/patches/patch-src_eog-exif-util.c:1.1
--- /dev/null   Wed May 16 13:13:32 2018
+++ pkgsrc/graphics/eog/patches/patch-src_eog-exif-util.c       Wed May 16 13:13:32 2018
@@ -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>
Index: pkgsrc/graphics/eog/patches/patch-src_eog-util.c
diff -u /dev/null pkgsrc/graphics/eog/patches/patch-src_eog-util.c:1.1
--- /dev/null   Wed May 16 13:13:32 2018
+++ pkgsrc/graphics/eog/patches/patch-src_eog-util.c    Wed May 16 13:13:32 2018
@@ -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