mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Closes: #23507 Co-authored-by: Keita Kita <maoutwo@gmail.com>
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Fix:
|
|
|
|
error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
|
|
error: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
|
error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
|
--- configure.orig 2005-07-14 17:50:59.000000000 -0500
|
|
+++ configure 2024-04-15 04:54:46.000000000 -0500
|
|
@@ -3894,6 +3894,7 @@
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include <ctype.h>
|
|
+#include <stdlib.h>
|
|
#if ((' ' & 0x0FF) == 0x020)
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
--- misc.c.orig 2004-01-03 15:17:28.000000000 -0600
|
|
+++ misc.c 2024-04-15 05:03:23.000000000 -0500
|
|
@@ -14,6 +14,8 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <sys/ioctl.h>
|
|
+#include <unistd.h>
|
|
#include <vorbis/codec.h>
|
|
#include "i18n.h"
|
|
#include "misc.h"
|