pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/jbig2dec



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue May 19 09:25:21 UTC 2026

Modified Files:
        pkgsrc/graphics/jbig2dec: distinfo
Added Files:
        pkgsrc/graphics/jbig2dec/patches: patch-getopt.h

Log Message:
jbig2dec: Fix for modern C.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/jbig2dec/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/jbig2dec/patches/patch-getopt.h

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

Modified files:

Index: pkgsrc/graphics/jbig2dec/distinfo
diff -u pkgsrc/graphics/jbig2dec/distinfo:1.15 pkgsrc/graphics/jbig2dec/distinfo:1.16
--- pkgsrc/graphics/jbig2dec/distinfo:1.15      Thu Oct 19 14:46:00 2023
+++ pkgsrc/graphics/jbig2dec/distinfo   Tue May 19 09:25:21 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.15 2023/10/19 14:46:00 wiz Exp $
+$NetBSD: distinfo,v 1.16 2026/05/19 09:25:21 jperkin Exp $
 
 BLAKE2s (jbig2dec-0.20.tar.gz) = 1e06a46c7e4586385f4f96a6e8edb0f1f45c2c0630b287211ec388e4d79d1b4a
 SHA512 (jbig2dec-0.20.tar.gz) = 8b8a28b93b23e4284ca229e6c8935fd161ce5c597f7470a46ec06a3241d0ac23cf921aecdd4e0c1bd3c904591409054236f2ce25b6d8ae40db742559c7f4dbe9
 Size (jbig2dec-0.20.tar.gz) = 149782 bytes
+SHA1 (patch-getopt.h) = a557943ef1055f241842603ab04dfde2f31d3255

Added files:

Index: pkgsrc/graphics/jbig2dec/patches/patch-getopt.h
diff -u /dev/null pkgsrc/graphics/jbig2dec/patches/patch-getopt.h:1.1
--- /dev/null   Tue May 19 09:25:21 2026
+++ pkgsrc/graphics/jbig2dec/patches/patch-getopt.h     Tue May 19 09:25:21 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-getopt.h,v 1.1 2026/05/19 09:25:21 jperkin Exp $
+
+Fix for modern C.
+
+--- getopt.h.orig      2026-05-19 09:23:59.193722989 +0000
++++ getopt.h
+@@ -143,7 +143,7 @@ struct option {
+    errors, only prototype getopt for the GNU C library.  */
+ extern int getopt(int __argc, char *const *__argv, const char *__shortopts);
+ # else                          /* not __GNU_LIBRARY__ */
+-extern int getopt();
++extern int getopt(int, char *const *, const char *);
+ # endif                         /* __GNU_LIBRARY__ */
+ 
+ # ifndef __need_getopt



Home | Main Index | Thread Index | Old Index