pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/potrace Update potrace to 1.15.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc97e530d36c
branches:  trunk
changeset: 325048:fc97e530d36c
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Thu Nov 08 14:40:20 2018 +0000

description:
Update potrace to 1.15.

v1.15 2017/08/05
        (2017/08/05) PS1 - use round() instead of rint()
        (2017/08/05) PS1 - portability: set both _POSIX_C_SOURCE and
        _NETBSD_SOURCE to enable strdup prototype in string.h, as
        _XOPEN_SOURCE=500 doesn't work on macOS, _XOPEN_SOURCE=600 doesn't
        work on SunOS, and _POSIX_C_SOURCE alone doesn't work on Minix.
        (2017/08/02) PS1 - fixed a potential arithmetic overflow.
        (2017/06/17) PS1 - fixed a bug with very large bitmaps. Reported
        by Michael Vo???ek.
        (2017/03/05) PS1 - autoconf: added --enable-local-getopt to avoid
        using the system-wide getopt library (it may still end up being
        used on GNU systems).
        (2017/03/05) PS1 - portability: moved getopt.h to a subdirectory,
        to be included only when needed. Reported by Daniel Macks.
        (2017/03/05) PS1 - portability: use _XOPEN_SOURCE=600 to fix macOS
        warning.
        (2017/02/27) PS1 - fixed more buffer overflows (not security
        critical), including one reported by Agostino Sarubbo. This also
        fixes CVE-2017-12067.

diffstat:

 graphics/potrace/Makefile                         |   4 ++--
 graphics/potrace/distinfo                         |  13 +++++--------
 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 ----------------
 5 files changed, 7 insertions(+), 58 deletions(-)

diffs (90 lines):

diff -r d26038a7f597 -r fc97e530d36c graphics/potrace/Makefile
--- a/graphics/potrace/Makefile Thu Nov 08 14:01:18 2018 +0000
+++ b/graphics/potrace/Makefile Thu Nov 08 14:40:20 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2017/02/27 12:30:47 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2018/11/08 14:40:20 kleink Exp $
 
-DISTNAME=      potrace-1.14
+DISTNAME=      potrace-1.15
 CATEGORIES=    graphics
 MASTER_SITES=  http://potrace.sourceforge.net/download/
 MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=potrace/}
diff -r d26038a7f597 -r fc97e530d36c graphics/potrace/distinfo
--- a/graphics/potrace/distinfo Thu Nov 08 14:01:18 2018 +0000
+++ b/graphics/potrace/distinfo Thu Nov 08 14:40:20 2018 +0000
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.12 2018/01/31 10:22:48 jperkin Exp $
+$NetBSD: distinfo,v 1.13 2018/11/08 14:40:20 kleink 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
+SHA1 (potrace-1.15.tar.gz) = 1a0a4faca17370731b939487847662c8ed1b660d
+RMD160 (potrace-1.15.tar.gz) = 3693c10fae055c36b9728a21f3d2739a3fa8df74
+SHA512 (potrace-1.15.tar.gz) = c9a8edd4f3339da587b9b32e12c83c8f7b993c7c23f551fa267545d9411679bc024924e23596ed1c83985693fc894b65dfa9f860275de395d9e0a88da37a4f02
+Size (potrace-1.15.tar.gz) = 650840 bytes
diff -r d26038a7f597 -r fc97e530d36c graphics/potrace/patches/patch-src_backend__eps.c
--- a/graphics/potrace/patches/patch-src_backend__eps.c Thu Nov 08 14:01:18 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$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 d26038a7f597 -r fc97e530d36c graphics/potrace/patches/patch-src_main.c
--- a/graphics/potrace/patches/patch-src_main.c Thu Nov 08 14:01:18 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$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 d26038a7f597 -r fc97e530d36c graphics/potrace/patches/patch-src_mkbitmap.c
--- a/graphics/potrace/patches/patch-src_mkbitmap.c     Thu Nov 08 14:01:18 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$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