mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-28 16:17:38 -07:00
Unlike normal missing includes, implicit function declaration fixes require a revbump as they can affect code generation. Signed-off-by: Sam James <sam@gentoo.org>
21 lines
787 B
Diff
21 lines
787 B
Diff
https://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-extended/enscript/enscript/0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch?h=master-next&id=6c251848590867debaaf87bfe12bed572d8f6a8d
|
|
|
|
From faec0206611f8ea4ca6f70987866077ac8c3c6c1 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 2 Sep 2022 21:24:27 -0700
|
|
Subject: [PATCH] getopt: Include string.h for strcmp/stcncmp functions
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
--- a/compat/getopt.c
|
|
+++ b/compat/getopt.c
|
|
@@ -43,6 +43,7 @@
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
+#include <string.h> /* strcmp */
|
|
|
|
/* 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
|