pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups-filters Update print/cups-filters to cups-f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71516ffc0208
branches:  trunk
changeset: 354661:71516ffc0208
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Nov 06 11:21:19 2016 +0000

description:
Update print/cups-filters to cups-filters-1.11.6

pkgsrc changes:
 - Fix build for (at least) older NetBSD versions that do not have
   execvpe(3).

Changes:
CHANGES IN V1.11.6
 - pdftops: Do not default to simply "pdftops" when calling the
   Poppler pdftops utility, as the $PATH of CUPS when running
   filters/backends starts with /usr/lib/cups/filter/ and then
   pdftops would call itself (Bug #1380).

diffstat:

 print/cups-filters/Makefile                             |   5 ++---
 print/cups-filters/distinfo                             |  12 +++++++-----
 print/cups-filters/patches/patch-filter_gstoraster.c    |  16 ++++++++++++++++
 print/cups-filters/patches/patch-filter_mupdftoraster.c |  16 ++++++++++++++++
 4 files changed, 41 insertions(+), 8 deletions(-)

diffs (70 lines):

diff -r c1a61569e394 -r 71516ffc0208 print/cups-filters/Makefile
--- a/print/cups-filters/Makefile       Sun Nov 06 11:07:00 2016 +0000
+++ b/print/cups-filters/Makefile       Sun Nov 06 11:21:19 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2016/11/01 08:20:17 leot Exp $
+# $NetBSD: Makefile,v 1.57 2016/11/06 11:21:19 leot Exp $
 
-DISTNAME=      cups-filters-1.11.5
-PKGREVISION=   1
+DISTNAME=      cups-filters-1.11.6
 CATEGORIES=    print
 MASTER_SITES=  http://openprinting.org/download/cups-filters/
 EXTRACT_SUFX=  .tar.xz
diff -r c1a61569e394 -r 71516ffc0208 print/cups-filters/distinfo
--- a/print/cups-filters/distinfo       Sun Nov 06 11:07:00 2016 +0000
+++ b/print/cups-filters/distinfo       Sun Nov 06 11:21:19 2016 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.40 2016/10/31 09:31:16 leot Exp $
+$NetBSD: distinfo,v 1.41 2016/11/06 11:21:19 leot Exp $
 
-SHA1 (cups-filters-1.11.5.tar.xz) = a37781a25f4808f8bda3542dc41798c7b950f96d
-RMD160 (cups-filters-1.11.5.tar.xz) = 1ee7650499ce8eacf6093a753e2512433d4c2033
-SHA512 (cups-filters-1.11.5.tar.xz) = 8c837ff4f7c9b9abdf7f6f0ff899aa60444a73934e7e41d0b840a865d44650090b2d00b8a211ea2618a94dd8c1506a83061e6de0fe03947a3aee0e8425349e4f
-Size (cups-filters-1.11.5.tar.xz) = 1409912 bytes
+SHA1 (cups-filters-1.11.6.tar.xz) = 68674af1da5431d4d8ec2ae1a03314ec4bc40d00
+RMD160 (cups-filters-1.11.6.tar.xz) = d63cf963ad8ae16c3a10d4423c862c1c4916238d
+SHA512 (cups-filters-1.11.6.tar.xz) = 425eab182101d7bdd02844febebc7d57ed00d822e12ebb08e57a1244dc9d085f2a3c0eeb8ce4fe7586b32ca1a7cca2019ae62114d86692f0d6a6e60510d2711a
+Size (cups-filters-1.11.6.tar.xz) = 1410116 bytes
+SHA1 (patch-filter_gstoraster.c) = a9fac7892972943f345c6b76529feff0ba098458
+SHA1 (patch-filter_mupdftoraster.c) = 4c4f7d292163657f9541c8ce454ba57d248f7ef0
diff -r c1a61569e394 -r 71516ffc0208 print/cups-filters/patches/patch-filter_gstoraster.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-filter_gstoraster.c      Sun Nov 06 11:21:19 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-filter_gstoraster.c,v 1.1 2016/11/06 11:21:19 leot Exp $
+
+execvpe(3) appeared only on NetBSD 8.0, use execve(3) instead (like
+cups-filters-1.11.4).
+
+--- filter/gstoraster.c.orig   2016-10-27 22:50:52.000000000 +0000
++++ filter/gstoraster.c
+@@ -502,7 +502,7 @@ gs_spawn (const char *filename,
+     }
+ 
+     /* Execute Ghostscript command line ... */
+-    execvpe(filename, gsargv, envp);
++    execve(filename, gsargv, envp);
+     perror(filename);
+     goto out;
+   }
diff -r c1a61569e394 -r 71516ffc0208 print/cups-filters/patches/patch-filter_mupdftoraster.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-filter_mupdftoraster.c   Sun Nov 06 11:21:19 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-filter_mupdftoraster.c,v 1.1 2016/11/06 11:21:19 leot Exp $
+
+execvpe(3) appeared only on NetBSD 8.0, use execve(3) instead (like
+cups-filters-1.11.4).
+
+--- filter/mupdftoraster.c.orig        2016-10-27 22:50:52.000000000 +0000
++++ filter/mupdftoraster.c
+@@ -215,7 +215,7 @@ mutool_spawn (const char *filename,
+ 
+   if ((pid = fork()) == 0) {
+     /* Execute Mutool command line ... */
+-    execvpe(filename, mutoolargv, envp);
++    execve(filename, mutoolargv, envp);
+     perror(filename);
+     goto out;
+   }



Home | Main Index | Thread Index | Old Index