head 1.4; access; symbols pkgsrc-2017Q1:1.3.0.14 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.12 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.10 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.8 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.6 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.4 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.2 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.2.0.16 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.14 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.12 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.10 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.8 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.6 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.4 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.2 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.1.0.4 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2017.03.31.07.26.23; author adam; state dead; branches; next 1.3; commitid 6GxPo7C4ma4xNFLz; 1.3 date 2015.08.12.22.27.23; author wiz; state Exp; branches; next 1.2; commitid w0YsI9iiggDuY1xy; 1.2 date 2013.08.22.21.07.08; author adam; state Exp; branches; next 1.1; commitid TTxgJJJ56CZCFu2x; 1.1 date 2013.03.16.22.25.21; author dholland; state Exp; branches; next ; desc @@ 1.4 log @Version 9.21 (2017-03-16) This is the fifteenth full release in the stable 9.x series. Highlights in this release include: * pdfwrite now preserves annotations from input PDFs (where possible). * The GhostXPS interpreter now provides the pdfwrite device with the data it requires to emit a ToUnicode CMap: thus allowing fully searchable PDFs to be created from XPS input (in the vast majority of cases). * Ghostscript now allows the default color space for PDF transparency blends. * The Ghostscript/GhostPDL configure script now has much better/fuller support for cross compiling. * The tiffscaled and tiffscaled4 devices can now use ETS (Even Tone Screening) * The toolbin/pdf_info.ps utility can now emit the PDF XML metadata. * Ghostscript has a new scan converter available (currently optional, but will become the default in a near future release). It can be enabled by using the command line option: '-dSCANCONVERTERTYPE=2'. This new implementation provides vastly improved performance with large and complex paths. * The usual round of bug fixes, compatibility changes, and incremental improvements. @ text @$NetBSD: patch-ai,v 1.3 2015/08/12 22:27:23 wiz Exp $ chunk 1: fix build with _FORTIFY_SOURCE=2; it seems the arguments sometimes overlap. chunk 2: Replace BSD/Linux specific "qd" printf format specifier by "lld", should fix build problem on Solaris reported by Joern Clausen per PR pkg/40664 --- base/mkromfs.c.orig 2015-03-30 08:21:24.000000000 +0000 +++ base/mkromfs.c @@@@ -1987,7 +1987,7 @@@@ ws(const byte *str, int len) if (len >= LINE_SIZE) exit(1); - memcpy(linebuf, str, len); + memmove(linebuf, str, len); flush_line_buf(len); } @@@@ -2329,7 +2329,7 @@@@ main(int argc, char *argv[]) #endif fprintf(out,"\n#include \"stdint_.h\"\n"); fprintf(out,"\n#include \"time_.h\"\n\n"); - fprintf(out," time_t gs_romfs_buildtime = %ld;\n\n", time(NULL)); + fprintf(out," time_t gs_romfs_buildtime = %lld;\n\n", (long long)time(NULL)); /* process the remaining arguments (options interspersed with paths) */ for (; atarg < argc; atarg++) { @ 1.3 log @Use memmove instead of memcpy in one place. It seems the arguments sometimes overlap, and _FORTIFY_SOURCE=2 causes it to dump core in this case. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.2 2013/08/22 21:07:08 adam Exp $ @ 1.2 log @Changes 9.09: * Background printing (BGPrint) is a new feature allowing an accumulated page clist to be rendered by one or more rendering threads whilst the interpreter (in the "main" thread) continues to accumulate the subsequent page's clist. For certain classes of file this can result in a useful performance increase. * GrayDetection allows suitably written devices to detect "color" input in near neutral tones (i.e. near monochrome) and to convert "on-the-fly" to pure grayscale, whilst retaining the ability to print full color on demand. This is primarily aimed at workflows where saving ink (especially color inks) is required. * LittleCMS2 and libpng have both been updated to the latest versions. * Support has been added to build the Ghostscript DLL for WinRT for x86, x64 and ARM (Requires MS Visual Studio 2012 Pro). * Processing of Windows command line arguments into UTF8 (as presaged a few releases ago) has been enhanced and enabled by default. * The URW Postscript font set has been updated to the latest version, fixing many compatibility problems with the Adobe fonts. * Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.1 2013/03/16 22:25:21 dholland Exp $ d3 5 d11 1 a11 1 --- base/mkromfs.c.orig 2009-02-13 12:20:54.000000000 +0100 d13 10 a22 1 @@@@ -2302,7 +2302,7 @@@@ @ 1.1 log @Add ghostscript-agpl package, the same as the current print/ghostscript. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.5 2012/10/07 14:19:18 mef Exp $ d3 2 a4 3 replace BSD/Linux specific "qd" printf format specifier by "lld", should fix build problem on Solaris reported by Joern Clausen per PR pkg/40664 d8 1 a8 1 @@@@ -1033,7 +1033,7 @@@@ @