summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-01-14 10:16:30 +0000
committerjperkin <jperkin@pkgsrc.org>2021-01-14 10:16:30 +0000
commit8863accbd1bfac83acd12ac3efc90adc740dc592 (patch)
tree30b772185bee6f746fdbcfc53189f5c994b7d199
parent039ecb56eb9d041e8e91d91dd13f02bf00de7bcc (diff)
downloadpkgsrc-8863accbd1bfac83acd12ac3efc90adc740dc592.tar.gz
gegl: Fix _XOPEN_SOURCE on SunOS.
-rw-r--r--graphics/gegl/distinfo4
-rw-r--r--graphics/gegl/patches/patch-operations_external_png-load.c16
-rw-r--r--graphics/gegl/patches/patch-operations_external_tiff-load.c16
3 files changed, 35 insertions, 1 deletions
diff --git a/graphics/gegl/distinfo b/graphics/gegl/distinfo
index c1a99efca60..ce090ee86de 100644
--- a/graphics/gegl/distinfo
+++ b/graphics/gegl/distinfo
@@ -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 --git a/graphics/gegl/patches/patch-operations_external_png-load.c b/graphics/gegl/patches/patch-operations_external_png-load.c
new file mode 100644
index 00000000000..4e12787fabf
--- /dev/null
+++ b/graphics/gegl/patches/patch-operations_external_png-load.c
@@ -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 --git a/graphics/gegl/patches/patch-operations_external_tiff-load.c b/graphics/gegl/patches/patch-operations_external_tiff-load.c
new file mode 100644
index 00000000000..5276f98a7e0
--- /dev/null
+++ b/graphics/gegl/patches/patch-operations_external_tiff-load.c
@@ -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>