gentoo-ebuilds/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch
Brahmajit Das aa390cb060
media-gfx/hp2xx: Fix call to undeclared library function strcmp
Closes: https://bugs.gentoo.org/896218
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32996
Signed-off-by: Sam James <sam@gentoo.org>
2023-10-01 08:32:32 +01:00

13 lines
290 B
Diff
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Bug: https://bugs.gentoo.org/896218
--- a/sources/getopt.c
+++ b/sources/getopt.c
@@ -22,6 +22,9 @@
along with this program; if not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+
+#include <string.h>
+
/**
** Additions / fixes for hp2xx