pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl ghostscript-agpl: updated to 9.52



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8da0f5211006
branches:  trunk
changeset: 414188:8da0f5211006
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Mar 24 16:34:45 2020 +0000

description:
ghostscript-agpl: updated to 9.52

Version 9.52:

Highlights in this release include:

The 9.52 release replaces the 9.51 release after a problem was reported with 9.51 which warranted the quick turnaround. Thus, like 9.51, 9.52 is primarily a maintenance release, consolidating the 
changes we introduced in 9.50.

We have continued our work on code hygiene for this release, with a focus on the static analysis tool Coverity (from Synopsys, Inc) and we have now adopted a policy of maintaining zero Coverity 
issues in the Ghostscript/GhostPDL source base.

IMPORTANT: In consultation with a representative of (OpenPrinting) it is our intention to deprecate and, in the not distant future, remove the OpenPrinting Vector/Raster Printer Drivers (that is, the 
opvp and oprp devices).

If you rely on either of these devices, please get in touch with us, so we can discuss your use case, and revise our plans accordingly.

IMPORTANT: We have forked LittleCMS2 into LittleCMS2mt (the "mt" indicating "multi-thread"). LCMS2 is not thread-safe, and cannot be made thread-safe without breaking the ABI. Our fork will be 
thread-safe and include performance enhancements (these changes have all be been offered and rejected upstream). We will maintain compatibility between Ghostscript and LCMS2 for a time, but not in 
perpetuity. If there is sufficient interest, our fork will be available as its own package separately from Ghostscript (and MuPDF).

The usual round of bug fixes, compatibility changes, and incremental improvements.

diffstat:

 print/ghostscript-agpl/Makefile                              |   3 +-
 print/ghostscript-agpl/Makefile.common                       |   4 +-
 print/ghostscript-agpl/PLIST                                 |   3 +-
 print/ghostscript-agpl/distinfo                              |  18 ++--
 print/ghostscript-agpl/patches/patch-Resource_Init_gs_ttf.ps |  44 -----------
 print/ghostscript-agpl/patches/patch-base_mkromfs.c          |  22 +----
 print/ghostscript-agpl/patches/patch-configure               |  48 ++++++------
 print/ghostscript-agpl/patches/patch-devices_devs.mak        |  22 ++--
 print/ghostscript-agpl/patches/patch-lib_dvipdf              |  13 ---
 9 files changed, 52 insertions(+), 125 deletions(-)

diffs (298 lines):

diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile   Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/Makefile   Tue Mar 24 16:34:45 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2020/03/10 22:10:51 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2020/03/24 16:34:45 adam Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   5
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/Makefile.common
--- a/print/ghostscript-agpl/Makefile.common    Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/Makefile.common    Tue Mar 24 16:34:45 2020 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.18 2019/12/10 10:44:09 leot Exp $
+# $NetBSD: Makefile.common,v 1.19 2020/03/24 16:34:45 adam Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    9.50
+GS_VERSION=    9.52
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/PLIST
--- a/print/ghostscript-agpl/PLIST      Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/PLIST      Tue Mar 24 16:34:45 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2019/05/06 14:53:44 taca Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/03/24 16:34:45 adam Exp $
 bin/dvipdf
 bin/eps2eps
 bin/gs
@@ -518,6 +518,7 @@
 share/ghostscript/${PKGVERSION}/lib/necp2x.upp
 share/ghostscript/${PKGVERSION}/lib/necp2x6.upp
 share/ghostscript/${PKGVERSION}/lib/pdf2dsc.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_info.ps
 share/ghostscript/${PKGVERSION}/lib/pf2afm.ps
 share/ghostscript/${PKGVERSION}/lib/pfbtopfa.ps
 share/ghostscript/${PKGVERSION}/lib/ppath.ps
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/distinfo
--- a/print/ghostscript-agpl/distinfo   Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/distinfo   Tue Mar 24 16:34:45 2020 +0000
@@ -1,15 +1,13 @@
-$NetBSD: distinfo,v 1.28 2020/01/16 11:25:41 markd Exp $
+$NetBSD: distinfo,v 1.29 2020/03/24 16:34:45 adam Exp $
 
-SHA1 (ghostscript-9.50.tar.xz) = 3be5f36300e3031e68a28cd898b3eebc9151660b
-RMD160 (ghostscript-9.50.tar.xz) = 7ba4ac83bff4b2bb4b102002501cc6ee0a74ace2
-SHA512 (ghostscript-9.50.tar.xz) = 3c1e5db519a427f4b6bfb8d93f3c3dfb67d5ec9ccd19c7afa7670deb768515f3fc617c5588e54934bbfbedfdf8609ce2ffa36dd7da3cb618937fe034f64f43ee
-Size (ghostscript-9.50.tar.xz) = 34613344 bytes
-SHA1 (patch-Resource_Init_gs_ttf.ps) = 7a65887b86079836b44d77f69257c5d46c006503
+SHA1 (ghostscript-9.52.tar.xz) = dd816e2fab38e99b86d2872838bf73e49420cfb8
+RMD160 (ghostscript-9.52.tar.xz) = b0a320a71b7de06043290e150307733ed7f591b9
+SHA512 (ghostscript-9.52.tar.xz) = 4c4a33884e1138bad553eee61fac1a72158297ad5c2ce46a4b36150848dea8158affaf2b902f4ff03e4f72ebc8154c198b618112624f409230a610b7648faa67
+Size (ghostscript-9.52.tar.xz) = 39711040 bytes
 SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
-SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b
+SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
 SHA1 (patch-base_ttobjs.h) = 378ad7d316a4a9dc53b9c8e612582a7c8e9b3688
 SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca
-SHA1 (patch-configure) = 08ed9451fc3cf1aade8992e4297c7df736416c8b
-SHA1 (patch-devices_devs.mak) = 9857c177e7a6a28ee326dbc878bbe52ccbcfedce
-SHA1 (patch-lib_dvipdf) = 1a8e06bca28c9b74a09dfa3bea514fcca8bafd52
+SHA1 (patch-configure) = 218c3f36faca73d3145fe6a0aecab0a23d5a8ae0
+SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/patches/patch-Resource_Init_gs_ttf.ps
--- a/print/ghostscript-agpl/patches/patch-Resource_Init_gs_ttf.ps      Tue Mar 24 16:32:32 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-$NetBSD: patch-Resource_Init_gs_ttf.ps,v 1.1 2020/01/03 23:56:09 sevan Exp $
-
-CVE-2019-14869
-https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=485904772c5f
-https://nvd.nist.gov/vuln/detail/CVE-2019-14869
-
---- Resource/Init/gs_ttf.ps.orig       2020-01-03 16:02:12.889444420 +0000
-+++ Resource/Init/gs_ttf.ps
-@@ -1304,7 +1304,7 @@ currentdict /.pickcmap_with_no_xlatmap .
-           TTFDEBUG { (\n1 setting alias: ) print dup ==only
-                 ( to be the same as  ) print 2 index //== exec } if
- 
--          7 index 2 index 3 -1 roll exch .forceput
-+          7 index 2 index 3 -1 roll exch put
-         } forall
-         pop pop pop
-       }
-@@ -1322,7 +1322,7 @@ currentdict /.pickcmap_with_no_xlatmap .
-           exch pop
-           TTFDEBUG { (\n2 setting alias: ) print 1 index ==only
-                      ( to use glyph index: ) print dup //== exec } if
--          5 index 3 1 roll .forceput
-+          5 index 3 1 roll put
-           //false
-         }
-         {
-@@ -1339,7 +1339,7 @@ currentdict /.pickcmap_with_no_xlatmap .
-         {                            %  CharStrings(dict) isunicode(boolean) cmap(dict) RAGL(dict) gname(name) codep(integer) gindex(integer)
-           TTFDEBUG { (\3 nsetting alias: ) print 1 index ==only
-                 ( to be index: ) print dup //== exec } if
--          exch pop 5 index 3 1 roll .forceput
-+          exch pop 5 index 3 1 roll put
-         }
-         {
-           pop pop
-@@ -1369,7 +1369,7 @@ currentdict /.pickcmap_with_no_xlatmap .
-       } ifelse
-     ]
-   TTFDEBUG { (Encoding: ) print dup === flush } if
--} .bind executeonly odef              % hides .forceput
-+} .bind odef
- 
- % ---------------- CIDFontType 2 font loading ---------------- %
- 
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/patches/patch-base_mkromfs.c
--- a/print/ghostscript-agpl/patches/patch-base_mkromfs.c       Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/patches/patch-base_mkromfs.c       Tue Mar 24 16:34:45 2020 +0000
@@ -1,16 +1,11 @@
-$NetBSD: patch-base_mkromfs.c,v 1.1 2017/03/31 07:26:23 adam Exp $
+$NetBSD: patch-base_mkromfs.c,v 1.2 2020/03/24 16:34:45 adam Exp $
 
-chunk 1:
-fix build with _FORTIFY_SOURCE=2; it seems the arguments sometimes
+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        2017-03-16 10:12:02.000000000 +0000
+--- base/mkromfs.c.orig        2020-03-19 08:21:42.000000000 +0000
 +++ base/mkromfs.c
-@@ -2014,7 +2014,7 @@ ws(const byte *str, int len)
+@@ -2137,7 +2137,7 @@ ws(const byte *str, int len)
      if (len >= LINE_SIZE)
          exit(1);
  
@@ -19,12 +14,3 @@
      flush_line_buf(len);
  }
  
-@@ -2368,7 +2368,7 @@ main(int argc, char *argv[])
-     }
-     if (!buildtime)
-         buildtime = time(NULL);
--    fprintf(out,"    time_t gs_romfs_buildtime = %ld;\n\n", buildtime);
-+    fprintf(out,"    time_t gs_romfs_buildtime = %lld;\n\n", (long long)buildtime);
- 
-     /* process the remaining arguments (options interspersed with paths) */
-     for (; atarg < argc; atarg++) {
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/patches/patch-configure
--- a/print/ghostscript-agpl/patches/patch-configure    Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/patches/patch-configure    Tue Mar 24 16:34:45 2020 +0000
@@ -1,32 +1,32 @@
-$NetBSD: patch-configure,v 1.3 2018/09/05 13:19:40 adam Exp $
+$NetBSD: patch-configure,v 1.4 2020/03/24 16:34:45 adam Exp $
 
 Use system zlib for linking.
 Add rpath.
 Use correct install_name with path on Darwin.
 
---- configure.orig     2018-09-03 08:51:26.000000000 +0000
+--- configure.orig     2020-03-19 08:22:25.000000000 +0000
 +++ configure
-@@ -3757,7 +3757,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
+@@ -3917,7 +3917,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
  CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)"
  CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
  LDFLAGSAUXTMP="\$(LDFLAGS)"
 -AUXEXTRALIBSTMP="\$(EXTRALIBS)"
 +AUXEXTRALIBSTMP="\$(EXTRALIBS) -lz"
  
- 
  # purposefully do not include "help" output for this
-@@ -4371,9 +4371,7 @@ else
-         SunOS)
-         CC_OPT_FLAGS_TO_TRY="-O2"
+ # Check whether --enable-save_confaux was given.
+@@ -4544,9 +4544,7 @@ case $host in
+         CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
+         CFLAGS_LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
          # the trailing space is required!
 -        if test $ac_cv_c_compiler_gnu = no; then
 -            SET_DT_SONAME="-h "
 -        fi
 +        SET_DT_SONAME="-h,"
          if test $ac_cv_c_compiler_gnu = yes; then
-             CC_OPT_FLAGS_TO_TRY="-O2"
+             CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
              CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
-@@ -6772,7 +6770,7 @@ fi
+@@ -7022,7 +7020,7 @@ fi
  fi
  
  if test x$with_libpaper != xno; then
@@ -35,10 +35,10 @@
  
  $as_echo "#define USE_LIBPAPER 1" >>confdefs.h
  
-@@ -10193,10 +10191,10 @@ else
-       SO_LIB_EXT=".so"
+@@ -10881,10 +10879,10 @@ case $host in
      ;;
-     Darwin*)
+     *-darwin*)
+       DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
 -      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GS_SONAME_MAJOR_MINOR)"
 -      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(PCL_SONAME_MAJOR_MINOR)"
 -      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(XPS_SONAME_MAJOR_MINOR)"
@@ -50,18 +50,18 @@
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".dylib"
      ;;
-@@ -10206,10 +10204,10 @@ else
-       else
-         DYNAMIC_CFLAGS="-KPIC"
+@@ -10900,10 +10898,10 @@ case $host in
+         #fi
+         # ^^^ untested
        fi
--      GS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
--      PCL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
--      XPS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR)"
--      PDL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR)"
-+      GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
-+      PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
-+      XPS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR)"
-+      PDL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR)"
+-      GS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR) $_ldflags"
+-      PCL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR) $_ldflags"
+-      XPS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR) $_ldflags"
+-      PDL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR) $_ldflags"
++      GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR) $_ldflags"
++      PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR) $_ldflags"
++      XPS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR) $_ldflags"
++      PDL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR) $_ldflags"
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".so"
-       ;;
+     ;;
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/patches/patch-devices_devs.mak
--- a/print/ghostscript-agpl/patches/patch-devices_devs.mak     Tue Mar 24 16:32:32 2020 +0000
+++ b/print/ghostscript-agpl/patches/patch-devices_devs.mak     Tue Mar 24 16:34:45 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-devices_devs.mak,v 1.6 2018/09/05 13:19:40 adam Exp $
+$NetBSD: patch-devices_devs.mak,v 1.7 2020/03/24 16:34:45 adam Exp $
 
 Don't depend on src/zlib.h.
 
---- devices/devs.mak.orig      2018-09-03 08:50:27.000000000 +0000
+--- devices/devs.mak.orig      2020-03-19 08:21:42.000000000 +0000
 +++ devices/devs.mak
-@@ -1084,7 +1084,7 @@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS)
+@@ -1093,7 +1093,7 @@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS)
  
  $(DEVOBJ)gdevxps_0.$(OBJ) : $(DEVVECSRC)gdevxps.c $(gdevvec_h) \
  $(string__h) $(stdio__h) $(libtiff_dev) $(gx_h) $(gserrors_h) \
@@ -13,12 +13,12 @@
  $(stdint__h) $(gdevtifs_h) $(gsicc_create_h) $(gsicc_cache_h) \
  $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS)
        $(XPSDEVCC) $(I_)$(TI_)$(_I) $(GLO_)gdevxps_0.$(OBJ) $(C_) $(DEVVECSRC)gdevxps.c
-@@ -1224,7 +1224,7 @@ $(DEVOBJ)gdevgprf_1.$(OBJ) : $(DEVSRC)gd
+@@ -1514,7 +1514,7 @@ $(DD)pngalpha.dev : $(libpng_dev) $(png_
+ fpng_=$(DEVOBJ)gdevfpng.$(OBJ) $(DEVOBJ)gdevpccm.$(OBJ)
  
- $(DEVOBJ)gdevgprf_0.$(OBJ) : $(DEVSRC)gdevgprf.c $(PDEVH) $(math__h)\
-  $(gdevdcrd_h) $(gscrd_h) $(gscrdp_h) $(gsparam_h) $(gxlum_h)\
-- $(gstypes_h) $(gxdcconv_h) $(gdevdevn_h) $(gsequivc_h) $(zlib_h)\
-+ $(gstypes_h) $(gxdcconv_h) $(gdevdevn_h) $(gsequivc_h) \
-  $(gscms_h) $(gsicc_cache_h) $(gsicc_manage_h) $(gxgetbit_h)\
-  $(gdevppla_h) $(gxdevsop_h) $(DEVS_MAK) $(MAKEDIRS)
-       $(DEVCC) $(DEVO_)gdevgprf_0.$(OBJ) $(II)$(ZI_)$(_I) $(C_) $(DEVSRC)gdevgprf.c
+ $(DEVOBJ)gdevfpng_0.$(OBJ) : $(DEVSRC)gdevfpng.c\
+- $(gdevprn_h) $(gxdevsop_h) $(gdevpccm_h) $(gscdefs_h) $(zlib_h) $(DEVS_MAK) $(MAKEDIRS)
++ $(gdevprn_h) $(gxdevsop_h) $(gdevpccm_h) $(gscdefs_h) $(DEVS_MAK) $(MAKEDIRS)
+       $(CC_) $(I_)$(DEVI_) $(II)$(ZI_)$(_I) $(PCF_) $(GLF_) $(DEVO_)gdevfpng_0.$(OBJ) $(C_) $(DEVSRC)gdevfpng.c
+ 
+ $(DEVOBJ)gdevfpng_1.$(OBJ) : $(DEVSRC)gdevfpng.c\
diff -r 1a19501374bd -r 8da0f5211006 print/ghostscript-agpl/patches/patch-lib_dvipdf
--- a/print/ghostscript-agpl/patches/patch-lib_dvipdf   Tue Mar 24 16:32:32 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-lib_dvipdf,v 1.1 2020/01/16 11:25:41 markd Exp $
-
-script requires a trailing '-'
-commit b4521b891de48d7f62be739d02749c4aeca2fde8
-
---- lib/dvipdf.orig    2019-10-15 09:05:37.000000000 +0000
-+++ lib/dvipdf
-@@ -43,4 +43,4 @@ fi
- 
- # We have to include the options twice because -I only takes effect if it
- # appears before other options.
--exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS
-+exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -



Home | Main Index | Thread Index | Old Index