pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/potrace



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jan 31 10:22:48 UTC 2018

Modified Files:
        pkgsrc/graphics/potrace: distinfo
Added Files:
        pkgsrc/graphics/potrace/patches: patch-src_backend__eps.c
            patch-src_main.c patch-src_mkbitmap.c

Log Message:
potrace: Set _XOPEN_SOURCE correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/potrace/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/potrace/patches/patch-src_backend__eps.c \
    pkgsrc/graphics/potrace/patches/patch-src_main.c \
    pkgsrc/graphics/potrace/patches/patch-src_mkbitmap.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/potrace/distinfo
diff -u pkgsrc/graphics/potrace/distinfo:1.11 pkgsrc/graphics/potrace/distinfo:1.12
--- pkgsrc/graphics/potrace/distinfo:1.11       Mon Feb 27 12:30:47 2017
+++ pkgsrc/graphics/potrace/distinfo    Wed Jan 31 10:22:48 2018
@@ -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

Added files:

Index: pkgsrc/graphics/potrace/patches/patch-src_backend__eps.c
diff -u /dev/null pkgsrc/graphics/potrace/patches/patch-src_backend__eps.c:1.1
--- /dev/null   Wed Jan 31 10:22:48 2018
+++ pkgsrc/graphics/potrace/patches/patch-src_backend__eps.c    Wed Jan 31 10:22:48 2018
@@ -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>
Index: pkgsrc/graphics/potrace/patches/patch-src_main.c
diff -u /dev/null pkgsrc/graphics/potrace/patches/patch-src_main.c:1.1
--- /dev/null   Wed Jan 31 10:22:48 2018
+++ pkgsrc/graphics/potrace/patches/patch-src_main.c    Wed Jan 31 10:22:48 2018
@@ -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>
Index: pkgsrc/graphics/potrace/patches/patch-src_mkbitmap.c
diff -u /dev/null pkgsrc/graphics/potrace/patches/patch-src_mkbitmap.c:1.1
--- /dev/null   Wed Jan 31 10:22:48 2018
+++ pkgsrc/graphics/potrace/patches/patch-src_mkbitmap.c        Wed Jan 31 10:22:48 2018
@@ -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