pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/getopt



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu May  1 16:58:48 UTC 2025

Modified Files:
        pkgsrc/misc/getopt: distinfo
Added Files:
        pkgsrc/misc/getopt/patches: patch-gnu_getopt.c

Log Message:
getopt: Include <string.h> for strlen(3)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/misc/getopt/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/getopt/patches/patch-gnu_getopt.c

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

Modified files:

Index: pkgsrc/misc/getopt/distinfo
diff -u pkgsrc/misc/getopt/distinfo:1.10 pkgsrc/misc/getopt/distinfo:1.11
--- pkgsrc/misc/getopt/distinfo:1.10    Tue Oct 26 10:59:04 2021
+++ pkgsrc/misc/getopt/distinfo Thu May  1 16:58:48 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:59:04 nia Exp $
+$NetBSD: distinfo,v 1.11 2025/05/01 16:58:48 tnn Exp $
 
 BLAKE2s (getopt-1.1.6.tar.gz) = d6be5df3bedf765fe4b4e8a287bf8578d2cb22330f1e3016d665cf03ab963754
 SHA512 (getopt-1.1.6.tar.gz) = aa5476e729f33ddd3f32f38b2565da319fdfe034f11549218d5d9953e70dad764e0d9a82bb10efe4043c86ae87f944619b8a2f29a197f592bd855699961d8e10
 Size (getopt-1.1.6.tar.gz) = 58926 bytes
 SHA1 (patch-aa) = 5967a6ec48a7a69078fc1e0fca26645fd9870f77
 SHA1 (patch-ab) = 8591f15916b47d3569c79639e6ee9aa82df07f6a
+SHA1 (patch-gnu_getopt.c) = f27194128abce7901232a5d24cdcab225af369d2

Added files:

Index: pkgsrc/misc/getopt/patches/patch-gnu_getopt.c
diff -u /dev/null pkgsrc/misc/getopt/patches/patch-gnu_getopt.c:1.1
--- /dev/null   Thu May  1 16:58:48 2025
+++ pkgsrc/misc/getopt/patches/patch-gnu_getopt.c       Thu May  1 16:58:48 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-gnu_getopt.c,v 1.1 2025/05/01 16:58:48 tnn Exp $
+
+* Include <string.h> for strlen(3)
+
+--- gnu/getopt.c.orig  2025-05-01 16:57:05.278129342 +0000
++++ gnu/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+ 
+ #include <stdio.h>
++#include <string.h>
+ 
+ /* Comment out all this code if we are using the GNU C Library, and are not
+    actually compiling the library itself.  This code is part of the GNU C



Home | Main Index | Thread Index | Old Index