gentoo/dev-libs/libezV24/files/libezV24-0.1.1-clang16-build-fix.patch
Brahmajit Das 24520d4ae8
dev-libs/libezV24: Fix call to undeclared function fcvt
Closes: https://bugs.gentoo.org/895044
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33588
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-01-11 15:26:06 +02:00

22 lines
398 B
Diff

Bug: https://bugs.gentoo.org/895044
--- a/ezV24.c
+++ b/ezV24.c
@@ -42,6 +42,7 @@
#include <errno.h>
#include <termios.h>
#include <sys/ioctl.h>
+#include <sys/param.h>
#define __EZV24_C__
--- a/snprintf.c
+++ b/snprintf.c
@@ -61,6 +61,7 @@
/* From: Id: sprint.c,v 1.5 1995/09/10 18:35:09 chuck Exp */
+#define _GNU_SOURCE
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>