pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/potrace potrace: Set _XOPEN_SOURCE correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaaaf5f28d6e
branches:  trunk
changeset: 374895:aaaaf5f28d6e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 31 10:22:48 2018 +0000

description:
potrace: Set _XOPEN_SOURCE correctly.

diffstat:

 graphics/potrace/distinfo                         |   5 ++++-
 graphics/potrace/patches/patch-src_backend__eps.c |  16 ++++++++++++++++
 graphics/potrace/patches/patch-src_main.c         |  16 ++++++++++++++++
 graphics/potrace/patches/patch-src_mkbitmap.c     |  16 ++++++++++++++++
 4 files changed, 52 insertions(+), 1 deletions(-)

diffs (74 lines):

diff -r a7517f1c3a64 -r aaaaf5f28d6e graphics/potrace/distinfo
--- a/graphics/potrace/distinfo Wed Jan 31 10:20:26 2018 +0000
+++ b/graphics/potrace/distinfo Wed Jan 31 10:22:48 2018 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.11 2017/02/27 12:30:47 wiz Exp $
+$NetBSD: distinfo,v 1.12 2018/01/31 10:22:48 jperkin Exp $
 
 SHA1 (potrace-1.14.tar.gz) = c61dc9c37157aaf757cc6f5fa2806a3c83af74c4
 RMD160 (potrace-1.14.tar.gz) = fdc2237616a83d2212054dcf1e5f44f3878fd8f4
 SHA512 (potrace-1.14.tar.gz) = ade5e18adfbfccbc1298d0bd416fe3ef49ebe0284b81d43e0dd0040498d0ef6995e6ac9dac0a1eb5c251921bc97c32db3213dbe0ab40365d87f92013dcdc99b5
 Size (potrace-1.14.tar.gz) = 649685 bytes
+SHA1 (patch-src_backend__eps.c) = baacc3fdbac3bc1d63084f2e192b2c17e42621a9
+SHA1 (patch-src_main.c) = 90116a4478d81c72a42714cb4feb04938c6b151e
+SHA1 (patch-src_mkbitmap.c) = 083afb4616146ede33a9bf79ab7f69d33af49030
diff -r a7517f1c3a64 -r aaaaf5f28d6e graphics/potrace/patches/patch-src_backend__eps.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/patches/patch-src_backend__eps.c Wed Jan 31 10:22:48 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_backend__eps.c,v 1.1 2018/01/31 10:22:48 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/backend_eps.c.orig     2017-02-19 04:39:08.000000000 +0000
++++ src/backend_eps.c
+@@ -8,7 +8,9 @@
+    output. Postscript compression is optionally supplied via the
+    functions in flate.c. */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++#endif
+ 
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
diff -r a7517f1c3a64 -r aaaaf5f28d6e graphics/potrace/patches/patch-src_main.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/patches/patch-src_main.c Wed Jan 31 10:22:48 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_main.c,v 1.1 2018/01/31 10:22:48 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/main.c.orig    2017-02-19 04:39:08.000000000 +0000
++++ src/main.c
+@@ -2,7 +2,9 @@
+    This file is part of Potrace. It is free software and it is covered
+    by the GNU General Public License. See the file COPYING for details. */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++#endif
+ 
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
diff -r a7517f1c3a64 -r aaaaf5f28d6e graphics/potrace/patches/patch-src_mkbitmap.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/patches/patch-src_mkbitmap.c     Wed Jan 31 10:22:48 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_mkbitmap.c,v 1.1 2018/01/31 10:22:48 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/mkbitmap.c.orig        2017-02-19 04:39:08.000000000 +0000
++++ src/mkbitmap.c
+@@ -7,7 +7,9 @@
+    filter (evening out background gradients), lowpass filter
+    (smoothing foreground details), interpolated scaling, inversion. */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++#endif
+ 
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>



Home | Main Index | Thread Index | Old Index