pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/leptonica leptonica: updated to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b1d7044a2be
branches:  trunk
changeset: 307564:2b1d7044a2be
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 09 11:39:04 2018 +0000
description:
leptonica: updated to 1.76.0

1.76.0:
Modify infrastructure to fix outstanding security issues. By default,
  you can no longer create temp directories and temp files whose
  names are known to the compiler.  Also, prevent "system" calls,
  which were used for image display and gnuplot.
Replaced remaining sprintf() with snprintf() in prog tests.
Added non-transcoding functions for generating pdf from jpeg pixacomp
Add control of jpeg quality from pixWriteMem() and pixWriteStream()
Fixed getFilenamesInDirectory() to properly identify directories
Prevent size overflow in calloc for kernel; cleaned it up fpix and dpix
bmp reading now accepts negative height
Simplified splitimage2pdf; it no longer uses ps2pdf
Remove name-mangling WRITE_AS_NAMED compile option.
Removed 2 deprecated write functions.
Added these regression tests:
   locminmax_reg, speckle_reg, watershed_reg,

diffstat:

 graphics/leptonica/Makefile                    |   4 ++--
 graphics/leptonica/distinfo                    |  11 +++++------
 graphics/leptonica/patches/patch-src_sarray1.c |  15 ---------------
 3 files changed, 7 insertions(+), 23 deletions(-)

diffs (47 lines):

diff -r 2be01748371c -r 2b1d7044a2be graphics/leptonica/Makefile
--- a/graphics/leptonica/Makefile       Wed May 09 08:43:03 2018 +0000
+++ b/graphics/leptonica/Makefile       Wed May 09 11:39:04 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2018/02/20 09:37:56 adam Exp $
+# $NetBSD: Makefile,v 1.14 2018/05/09 11:39:04 adam Exp $
 
-DISTNAME=      leptonica-1.75.3
+DISTNAME=      leptonica-1.76.0
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=danbloomberg/}
 
diff -r 2be01748371c -r 2b1d7044a2be graphics/leptonica/distinfo
--- a/graphics/leptonica/distinfo       Wed May 09 08:43:03 2018 +0000
+++ b/graphics/leptonica/distinfo       Wed May 09 11:39:04 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.11 2018/02/20 09:37:56 adam Exp $
+$NetBSD: distinfo,v 1.12 2018/05/09 11:39:04 adam Exp $
 
-SHA1 (leptonica-1.75.3.tar.gz) = f2c1d1147304b3a564c34ae033619004a1640275
-RMD160 (leptonica-1.75.3.tar.gz) = 006ced964c7d9125c5b728bf8b717849c7dda21a
-SHA512 (leptonica-1.75.3.tar.gz) = ba2586e76634afb9be6699e4261e55078dd176ee2d0674aedfe49f7f0736ddedadd6961bcce23391d47dc24511cf5ab4b451544f3349c2d060da5f789dc5ab3f
-Size (leptonica-1.75.3.tar.gz) = 12379109 bytes
-SHA1 (patch-src_sarray1.c) = 2e465517a82453d80d5c40654aa13e6d23f620a9
+SHA1 (leptonica-1.76.0.tar.gz) = 5b93531f6f7e5b6c6870c9fba743008a77a93e4e
+RMD160 (leptonica-1.76.0.tar.gz) = 23a3a09614290d04de43e05df1b45b0b5adc9b42
+SHA512 (leptonica-1.76.0.tar.gz) = 83c77bebbf739cecab997ee08f7c9abf3ca884019c559b8f77c292ea2676c464cbf9b6812d7f12aefceef86c19d04bb3bc85119de298647a641b984dcdf3b111
+Size (leptonica-1.76.0.tar.gz) = 12436958 bytes
diff -r 2be01748371c -r 2b1d7044a2be graphics/leptonica/patches/patch-src_sarray1.c
--- a/graphics/leptonica/patches/patch-src_sarray1.c    Wed May 09 08:43:03 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_sarray1.c,v 1.1 2018/02/05 10:53:36 jperkin Exp $
-
-Use stat(2) until they have proper autoconf tests for fstatat(2).
-
---- src/sarray1.c.orig 2018-01-31 15:57:06.000000000 +0000
-+++ src/sarray1.c
-@@ -1873,7 +1873,7 @@ struct stat     st;
-     while ((pdirentry = readdir(pdir))) {
- 
-         /* It's nice to ignore directories.  */
--      if ((0 == fstatat(dfd, pdirentry->d_name, &st, 0))
-+      if ((0 == stat(pdirentry->d_name, &st))
-           && S_ISDIR(st.st_mode)) {
-             continue;
-       }



Home | Main Index | Thread Index | Old Index