pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/enca
Module Name: pkgsrc
Committed By: jperkin
Date: Tue May 19 09:34:17 UTC 2026
Modified Files:
pkgsrc/textproc/enca: distinfo
Added Files:
pkgsrc/textproc/enca/patches: patch-src_getopt.h
Log Message:
enca: Fix for modern C.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/enca/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/enca/patches/patch-src_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/textproc/enca/distinfo
diff -u pkgsrc/textproc/enca/distinfo:1.11 pkgsrc/textproc/enca/distinfo:1.12
--- pkgsrc/textproc/enca/distinfo:1.11 Mon Aug 5 13:23:25 2024
+++ pkgsrc/textproc/enca/distinfo Tue May 19 09:34:17 2026
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.11 2024/08/05 13:23:25 tnn Exp $
+$NetBSD: distinfo,v 1.12 2026/05/19 09:34:17 jperkin Exp $
BLAKE2s (enca-1.15.tar.bz2) = 4487af00052b8f07536685f3c4bd0010f55ce8e67ad0d07a6f2f1b19296f8e46
SHA512 (enca-1.15.tar.bz2) = f0b843b0b38fcb250991ad072fe2f1bcaa6aaad8348983446046f40b44a2523a7c3b46569f9693e5b2848356288f718595ea4cc9bc0b4685aac02291fe7393ba
Size (enca-1.15.tar.bz2) = 536627 bytes
SHA1 (patch-configure.ac) = fdfe12a86d37ba8182919061d6976b06a6ddd892
+SHA1 (patch-src_getopt.h) = 8e0ddd2ea42b804f5adb3d76423ee9b8fddae6e8
SHA1 (patch-tools_Makefile.am) = 01f8af341f2fb8c6d7816edf5b38690b5a9c53f8
SHA1 (patch-tools_make__hash.c) = d842781d13ee7ee2849beff410426596712be92d
Added files:
Index: pkgsrc/textproc/enca/patches/patch-src_getopt.h
diff -u /dev/null pkgsrc/textproc/enca/patches/patch-src_getopt.h:1.1
--- /dev/null Tue May 19 09:34:17 2026
+++ pkgsrc/textproc/enca/patches/patch-src_getopt.h Tue May 19 09:34:17 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_getopt.h,v 1.1 2026/05/19 09:34:17 jperkin Exp $
+
+Fix for modern C.
+
+--- src/getopt.h.orig 2026-05-19 09:32:49.895189054 +0000
++++ src/getopt.h
+@@ -144,7 +144,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