mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Fixes build failures, a CVE, and some other bugs. Closes: https://trac.macports.org/ticket/63767
20 lines
668 B
Diff
20 lines
668 B
Diff
Fix implicit declaration of function exit.
|
|
--- a/configure.orig 2005-01-18 15:39:23.000000000 -0600
|
|
+++ b/configure 2021-11-02 20:03:01.000000000 -0500
|
|
@@ -3393,6 +3393,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))
|
|
@@ -3942,6 +3943,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))
|