summaryrefslogtreecommitdiff
path: root/graphics/potrace
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2018-11-08 14:40:20 +0000
committerkleink <kleink@pkgsrc.org>2018-11-08 14:40:20 +0000
commite07ee0a62020fcc6e55f6c7ca35fc71c3a538ec4 (patch)
tree433641a6091999bc674cac8fd9efad92af188f57 /graphics/potrace
parent9c9734a7b6209bf487c811004e119db329c09af8 (diff)
downloadpkgsrc-e07ee0a62020fcc6e55f6c7ca35fc71c3a538ec4.tar.gz
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 (limited to 'graphics/potrace')
-rw-r--r--graphics/potrace/Makefile4
-rw-r--r--graphics/potrace/distinfo13
-rw-r--r--graphics/potrace/patches/patch-src_backend__eps.c16
-rw-r--r--graphics/potrace/patches/patch-src_main.c16
-rw-r--r--graphics/potrace/patches/patch-src_mkbitmap.c16
5 files changed, 7 insertions, 58 deletions
diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile
index 0d3f077c5eb..68dd7bae048 100644
--- a/graphics/potrace/Makefile
+++ b/graphics/potrace/Makefile
@@ -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 --git a/graphics/potrace/distinfo b/graphics/potrace/distinfo
index da625ad811d..9ce93432544 100644
--- a/graphics/potrace/distinfo
+++ b/graphics/potrace/distinfo
@@ -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 --git a/graphics/potrace/patches/patch-src_backend__eps.c b/graphics/potrace/patches/patch-src_backend__eps.c
deleted file mode 100644
index 160c82a1402..00000000000
--- a/graphics/potrace/patches/patch-src_backend__eps.c
+++ /dev/null
@@ -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 --git a/graphics/potrace/patches/patch-src_main.c b/graphics/potrace/patches/patch-src_main.c
deleted file mode 100644
index f79aa773821..00000000000
--- a/graphics/potrace/patches/patch-src_main.c
+++ /dev/null
@@ -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 --git a/graphics/potrace/patches/patch-src_mkbitmap.c b/graphics/potrace/patches/patch-src_mkbitmap.c
deleted file mode 100644
index 881309d2ac5..00000000000
--- a/graphics/potrace/patches/patch-src_mkbitmap.c
+++ /dev/null
@@ -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>