media-gfx/gozer: Fix call to undeclared library function strcmp

Closes: https://github.com/gentoo/gentoo/pull/33148
Closes: https://bugs.gentoo.org/896210
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Brahmajit Das
2023-10-01 18:57:31 +02:00
committed by David Seifert
parent cea42a6501
commit 8540d29e1a
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
Bug: https://bugs.gentoo.org/896210
--- a/src/getopt.c
+++ b/src/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

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,6 +24,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${P}-fix-build-system.patch
"${FILESDIR}"/${P}-fix-build-with-clang16.patch
)
src_prepare() {