Skip to content

Commit cd27d03

Browse files
committed
getopt: GCC 14 support.
1 parent 11eea0f commit cd27d03

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

misc/getopt/distinfo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ SHA512 (getopt-1.1.6.tar.gz) = aa5476e729f33ddd3f32f38b2565da319fdfe034f11549218
55
Size (getopt-1.1.6.tar.gz) = 58926 bytes
66
SHA1 (patch-aa) = 5967a6ec48a7a69078fc1e0fca26645fd9870f77
77
SHA1 (patch-ab) = 8591f15916b47d3569c79639e6ee9aa82df07f6a
8+
SHA1 (patch-gnu_getopt.c) = f27194128abce7901232a5d24cdcab225af369d2
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
$NetBSD: patch-gnu_getopt.c,v 1.1 2025/05/01 16:58:48 tnn Exp $
2+
3+
* Include <string.h> for strlen(3)
4+
5+
--- gnu/getopt.c.orig 2025-05-01 16:57:05.278129342 +0000
6+
+++ gnu/getopt.c
7+
@@ -40,6 +40,7 @@
8+
#endif
9+
10+
#include <stdio.h>
11+
+#include <string.h>
12+
13+
/* Comment out all this code if we are using the GNU C Library, and are not
14+
actually compiling the library itself. This code is part of the GNU C

0 commit comments

Comments
 (0)