pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gegl gegl: Fix _XOPEN_SOURCE on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf5bc942963e
branches:  trunk
changeset: 444873:bf5bc942963e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 14 10:16:30 2021 +0000

description:
gegl: Fix _XOPEN_SOURCE on SunOS.

diffstat:

 graphics/gegl/distinfo                                      |   4 ++-
 graphics/gegl/patches/patch-operations_external_png-load.c  |  16 +++++++++++++
 graphics/gegl/patches/patch-operations_external_tiff-load.c |  16 +++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diffs (54 lines):

diff -r e7a75eb39db4 -r bf5bc942963e graphics/gegl/distinfo
--- a/graphics/gegl/distinfo    Thu Jan 14 10:04:14 2021 +0000
+++ b/graphics/gegl/distinfo    Thu Jan 14 10:16:30 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.30 2020/10/08 11:17:24 ryoon Exp $
+$NetBSD: distinfo,v 1.31 2021/01/14 10:16:30 jperkin Exp $
 
 SHA1 (gegl-0.4.26.tar.xz) = 916ef2bea01e269b1bd1b3825d04331e17aeedb9
 RMD160 (gegl-0.4.26.tar.xz) = df57119d659c8a5dacae6fcf3783058d7dd10e3f
 SHA512 (gegl-0.4.26.tar.xz) = 634778df0060ffe630121c24044a6ddcc7f2de0ff61b02be24db4054c6f3def24373b28dd1152d62882d58383a3aa7a1f74cd5b743a299fd0719a2a2ff992d24
 Size (gegl-0.4.26.tar.xz) = 4942492 bytes
 SHA1 (patch-gegl_gegl-config.c) = a8e1f5f5394a33be2bcdcb05ec7654d06f7ad4bc
+SHA1 (patch-operations_external_png-load.c) = 9a03e842597d6c069f7dfa0fa224dd487479b27f
+SHA1 (patch-operations_external_tiff-load.c) = 5be8581a1459db3007bb82c27c2770356314f71d
diff -r e7a75eb39db4 -r bf5bc942963e graphics/gegl/patches/patch-operations_external_png-load.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gegl/patches/patch-operations_external_png-load.c        Thu Jan 14 10:16:30 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-operations_external_png-load.c,v 1.1 2021/01/14 10:16:30 jperkin Exp $
+
+Fix SunOS flags.
+
+--- operations/external/png-load.c.orig        2020-08-02 20:23:44.958153000 +0000
++++ operations/external/png-load.c
+@@ -20,7 +20,9 @@
+ 
+ #include "config.h"
+ #ifdef HAVE_STRPTIME
++#  ifndef __sun
+ #define _XOPEN_SOURCE
++#  endif
+ #include <time.h>
+ #endif
+ #include <glib/gi18n-lib.h>
diff -r e7a75eb39db4 -r bf5bc942963e graphics/gegl/patches/patch-operations_external_tiff-load.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gegl/patches/patch-operations_external_tiff-load.c       Thu Jan 14 10:16:30 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-operations_external_tiff-load.c,v 1.1 2021/01/14 10:16:30 jperkin Exp $
+
+Fix SunOS flags.
+
+--- operations/external/tiff-load.c.orig       2020-08-02 20:23:44.962150300 +0000
++++ operations/external/tiff-load.c
+@@ -18,7 +18,9 @@
+ 
+ #include "config.h"
+ #ifdef HAVE_STRPTIME
++#  ifndef __sun
+ #define _XOPEN_SOURCE
++#  endif
+ #include <time.h>
+ #endif
+ #include <glib/gi18n-lib.h>



Home | Main Index | Thread Index | Old Index