From e5aeb62b9e0c22a057b5e323c04bc1ad4c1df821 Mon Sep 17 00:00:00 2001 From: "John H. Palmieri" Date: Thu, 17 Sep 2020 16:09:06 -0700 Subject: [PATCH] trac 30594: allow ecl to build with Xcode 12. --- .../ecl-configure-include-stdlib-h.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 build/pkgs/ecl/patches/ecl-configure-include-stdlib-h.patch diff --git a/build/pkgs/ecl/patches/ecl-configure-include-stdlib-h.patch b/build/pkgs/ecl/patches/ecl-configure-include-stdlib-h.patch new file mode 100644 index 00000000000..725521ce074 --- /dev/null +++ b/build/pkgs/ecl/patches/ecl-configure-include-stdlib-h.patch @@ -0,0 +1,42 @@ +--- a/src/configure 2020-04-24 03:54:52.000000000 -0700 ++++ b/src/configure 2020-09-17 14:47:48.000000000 -0700 +@@ -2046,6 +2046,7 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + $4 ++#include + int + main () + { +@@ -2059,6 +2060,7 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + $4 ++#include + int + main () + { +@@ -7421,6 +7423,7 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include ++#include + int main() { + const char *int_type; + int bits; +@@ -7709,6 +7712,7 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include ++#include + int main() { + const char *int_type; + int bits; +@@ -8004,6 +8008,7 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include ++#include + int main() { + FILE *f = fopen("conftestval","w"); + int c1, c2;