diff options
author | Chris Packham <judge.packham@gmail.com> | 2025-02-01 14:47:57 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2025-02-02 13:54:36 +1300 |
commit | c8743eab09fe9148dd6a0399bb916d33dd4fceb5 (patch) | |
tree | 91b83ff8fa3c45018968569829a61af38e5eda37 /packages/libelf/0.8.13/0002-fix-configure-for-gcc14-part2.patch | |
parent | 03c7f95c9d2f6281a708d4587a861ffe780866b1 (diff) | |
download | crosstool-ng-c8743eab09fe9148dd6a0399bb916d33dd4fceb5.tar.gz crosstool-ng-c8743eab09fe9148dd6a0399bb916d33dd4fceb5.tar.bz2 crosstool-ng-c8743eab09fe9148dd6a0399bb916d33dd4fceb5.zip |
libelf: Update configure tests for GCC14 part2
More configure checks that need updating.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/libelf/0.8.13/0002-fix-configure-for-gcc14-part2.patch')
-rw-r--r-- | packages/libelf/0.8.13/0002-fix-configure-for-gcc14-part2.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/packages/libelf/0.8.13/0002-fix-configure-for-gcc14-part2.patch b/packages/libelf/0.8.13/0002-fix-configure-for-gcc14-part2.patch new file mode 100644 index 00000000..19f1a450 --- /dev/null +++ b/packages/libelf/0.8.13/0002-fix-configure-for-gcc14-part2.patch @@ -0,0 +1,51 @@ +diff -Naur libelf-0.8.13-orig/configure libelf-0.8.13/configure +--- libelf-0.8.13-orig/configure 2025-02-01 13:58:59.204951646 +1300 ++++ libelf-0.8.13/configure 2025-02-01 14:30:18.978354125 +1300 +@@ -1114,6 +1114,7 @@ + cat > conftest.$ac_ext <<EOF + #line 1116 "configure" + #include "confdefs.h" ++#include <stdlib.h> + #include <ctype.h> + #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +@@ -1484,6 +1485,7 @@ + #line 1485 "configure" + #include "confdefs.h" + #include <stdio.h> ++#include <stdlib.h> + int main() + { + FILE *f=fopen("conftestval", "w"); +@@ -1524,6 +1526,7 @@ + #line 1524 "configure" + #include "confdefs.h" + #include <stdio.h> ++#include <stdlib.h> + int main() + { + FILE *f=fopen("conftestval", "w"); +@@ -1564,6 +1567,7 @@ + #line 1563 "configure" + #include "confdefs.h" + #include <stdio.h> ++#include <stdlib.h> + int main() + { + FILE *f=fopen("conftestval", "w"); +@@ -1604,6 +1608,7 @@ + #line 1602 "configure" + #include "confdefs.h" + #include <stdio.h> ++#include <stdlib.h> + int main() + { + FILE *f=fopen("conftestval", "w"); +@@ -1645,6 +1650,7 @@ + #line 1642 "configure" + #include "confdefs.h" + #include <stdio.h> ++#include <stdlib.h> + int main() + { + FILE *f=fopen("conftestval", "w"); |