pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/ghostscript-agpl



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Aug  6 18:27:23 UTC 2024

Modified Files:
        pkgsrc/print/ghostscript-agpl: Makefile distinfo
Added Files:
        pkgsrc/print/ghostscript-agpl/patches: patch-devices_gdevescp.c

Log Message:
ghostscript-agpl: fix build w/ GCC 14


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.50 -r1.51 pkgsrc/print/ghostscript-agpl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/ghostscript-agpl/patches/patch-devices_gdevescp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.87 pkgsrc/print/ghostscript-agpl/Makefile:1.88
--- pkgsrc/print/ghostscript-agpl/Makefile:1.87 Wed May 29 16:34:10 2024
+++ pkgsrc/print/ghostscript-agpl/Makefile      Tue Aug  6 18:27:23 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.87 2024/05/29 16:34:10 adam Exp $
+# $NetBSD: Makefile,v 1.88 2024/08/06 18:27:23 tnn Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads

Index: pkgsrc/print/ghostscript-agpl/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.50 pkgsrc/print/ghostscript-agpl/distinfo:1.51
--- pkgsrc/print/ghostscript-agpl/distinfo:1.50 Sun May 19 11:55:37 2024
+++ pkgsrc/print/ghostscript-agpl/distinfo      Tue Aug  6 18:27:23 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.50 2024/05/19 11:55:37 wiz Exp $
+$NetBSD: distinfo,v 1.51 2024/08/06 18:27:23 tnn Exp $
 
 BLAKE2s (ghostscript-10.03.1.tar.xz) = f5edbba3d8c82612959270320f844caeb2ba6108f071cf736eabecb46cd9861b
 SHA512 (ghostscript-10.03.1.tar.xz) = 59e071cd23aed246b51317d3cccd9ccf8e1e84c4ecf9b22fb938e561eff42cec61915b0bdd96a313a3ea27750579c54ca0d0862b65edd306a621731c0063ffd3
@@ -10,4 +10,5 @@ SHA1 (patch-base_ttobjs.h) = 378ad7d316a
 SHA1 (patch-base_unix-dll.mak) = 8076ce689807872bf94b552daaf9547b646ca249
 SHA1 (patch-configure) = c448faa2f588dd8d7f58a9c1498b3dc5e903a5e2
 SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca
+SHA1 (patch-devices_gdevescp.c) = 7eece110c7eac20132deddc2441edddd675ef58f
 SHA1 (patch-pdf_pdf__sec.c) = 18a88ff5b93b01fbb7b350c9c96399b14dc93b40

Added files:

Index: pkgsrc/print/ghostscript-agpl/patches/patch-devices_gdevescp.c
diff -u /dev/null pkgsrc/print/ghostscript-agpl/patches/patch-devices_gdevescp.c:1.1
--- /dev/null   Tue Aug  6 18:27:23 2024
+++ pkgsrc/print/ghostscript-agpl/patches/patch-devices_gdevescp.c      Tue Aug  6 18:27:23 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-devices_gdevescp.c,v 1.1 2024/08/06 18:27:23 tnn Exp $
+
+gp_fwrite is clearly intended here, prn_stream is not FILE*
+
+--- devices/gdevescp.c.orig    2024-08-06 17:49:28.646255812 +0000
++++ devices/gdevescp.c
+@@ -162,7 +162,7 @@ escp2_print_page(gx_device_printer *pdev
+         ** margin measured from the *top* of the page:
+         */
+ 
+-        fwrite("\033(U\001\0\n\033(C\002\0t\020\033(c\004\0\0\0t\020",
++        gp_fwrite("\033(U\001\0\n\033(C\002\0t\020\033(c\004\0\0\0t\020",
+                                                         1, 22, prn_stream);
+ #endif
+ 



Home | Main Index | Thread Index | Old Index