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:   schmonz
Date:           Mon Mar 11 21:29:17 UTC 2024

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

Log Message:
ghostscript-agpl: fix macOS (with new-clang only?).


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/print/ghostscript-agpl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/ghostscript-agpl/patches/patch-pdf_pdf__sec.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/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.48 pkgsrc/print/ghostscript-agpl/distinfo:1.49
--- pkgsrc/print/ghostscript-agpl/distinfo:1.48 Mon Mar 11 12:45:37 2024
+++ pkgsrc/print/ghostscript-agpl/distinfo      Mon Mar 11 21:29:17 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2024/03/11 12:45:37 wiz Exp $
+$NetBSD: distinfo,v 1.49 2024/03/11 21:29:17 schmonz Exp $
 
 BLAKE2s (ghostscript-10.03.0.tar.xz) = ba41f0419063e1dec395939e82f57870639c4f8548c63094974c838345ecb241
 SHA512 (ghostscript-10.03.0.tar.xz) = 74d7da586eefbf3fb3c085bb4d2b73ee667fd0ae9cff73ece613c77c443148b847086f91802124baf91ac35cdc83be07199799378def92c8fbd96ced7d0ee9a8
@@ -10,3 +10,4 @@ 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-pdf_pdf__sec.c) = 18a88ff5b93b01fbb7b350c9c96399b14dc93b40

Added files:

Index: pkgsrc/print/ghostscript-agpl/patches/patch-pdf_pdf__sec.c
diff -u /dev/null pkgsrc/print/ghostscript-agpl/patches/patch-pdf_pdf__sec.c:1.1
--- /dev/null   Mon Mar 11 21:29:17 2024
+++ pkgsrc/print/ghostscript-agpl/patches/patch-pdf_pdf__sec.c  Mon Mar 11 21:29:17 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-pdf_pdf__sec.c,v 1.1 2024/03/11 21:29:17 schmonz Exp $
+
+Fix incompatible-pointer-types, int-conversion.
+
+--- pdf/pdf_sec.c.orig 2024-03-11 21:22:54.712613675 +0000
++++ pdf/pdf_sec.c
+@@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx,
+          * this easy: the errors we want to ignore are the ones with
+          * codes less than 100. */
+         if ((int)err < 100) {
+-            NewPassword = Password;
+-            NewLen = Len;
++            NewPassword = &Password;
++            NewLen = &Len;
+             return 0;
+         }
+ 



Home | Main Index | Thread Index | Old Index