Skip to content

Commit

Permalink
trac 30594: allow ecl to build with Xcode 12.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpalmieri committed Sep 17, 2020
1 parent 5ec24db commit e5aeb62
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions build/pkgs/ecl/patches/ecl-configure-include-stdlib-h.patch
Original file line number Diff line number Diff line change
@@ -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 <stdlib.h>
int
main ()
{
@@ -2059,6 +2060,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
+#include <stdlib.h>
int
main ()
{
@@ -7421,6 +7423,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
int main() {
const char *int_type;
int bits;
@@ -7709,6 +7712,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
int main() {
const char *int_type;
int bits;
@@ -8004,6 +8008,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
int main() {
FILE *f = fopen("conftestval","w");
int c1, c2;

0 comments on commit e5aeb62

Please sign in to comment.