From 204e27d0d65ef9e6c67ae5af87e03f82f56fa7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Thu, 30 May 2024 16:42:35 +0200 Subject: [PATCH] Add Fedora 40 patches for R 3.0.0 - R 4.0.2 --- builder/patches/R-3.0.0-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.0.1-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.0.2-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.0.3-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.1.0-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.1.1-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.1.2-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.1.3-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.2.0-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.2.1-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.2.2-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.2.3-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.2.4-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.2.5-fedora-40.patch | 26 +++++++++++++++++++ builder/patches/R-3.3.0-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.3.1-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.3.2-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.3.3-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.4.0-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.4.1-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.4.2-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.4.3-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.4.4-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.5.0-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.5.1-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.5.2-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.5.3-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.6.0-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.6.1-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.6.2-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-3.6.3-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-4.0.0-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-4.0.1-fedora-40.patch | 34 +++++++++++++++++++++++++ builder/patches/R-4.0.2-fedora-40.patch | 34 +++++++++++++++++++++++++ 34 files changed, 1044 insertions(+) create mode 100644 builder/patches/R-3.0.0-fedora-40.patch create mode 100644 builder/patches/R-3.0.1-fedora-40.patch create mode 100644 builder/patches/R-3.0.2-fedora-40.patch create mode 100644 builder/patches/R-3.0.3-fedora-40.patch create mode 100644 builder/patches/R-3.1.0-fedora-40.patch create mode 100644 builder/patches/R-3.1.1-fedora-40.patch create mode 100644 builder/patches/R-3.1.2-fedora-40.patch create mode 100644 builder/patches/R-3.1.3-fedora-40.patch create mode 100644 builder/patches/R-3.2.0-fedora-40.patch create mode 100644 builder/patches/R-3.2.1-fedora-40.patch create mode 100644 builder/patches/R-3.2.2-fedora-40.patch create mode 100644 builder/patches/R-3.2.3-fedora-40.patch create mode 100644 builder/patches/R-3.2.4-fedora-40.patch create mode 100644 builder/patches/R-3.2.5-fedora-40.patch create mode 100644 builder/patches/R-3.3.0-fedora-40.patch create mode 100644 builder/patches/R-3.3.1-fedora-40.patch create mode 100644 builder/patches/R-3.3.2-fedora-40.patch create mode 100644 builder/patches/R-3.3.3-fedora-40.patch create mode 100644 builder/patches/R-3.4.0-fedora-40.patch create mode 100644 builder/patches/R-3.4.1-fedora-40.patch create mode 100644 builder/patches/R-3.4.2-fedora-40.patch create mode 100644 builder/patches/R-3.4.3-fedora-40.patch create mode 100644 builder/patches/R-3.4.4-fedora-40.patch create mode 100644 builder/patches/R-3.5.0-fedora-40.patch create mode 100644 builder/patches/R-3.5.1-fedora-40.patch create mode 100644 builder/patches/R-3.5.2-fedora-40.patch create mode 100644 builder/patches/R-3.5.3-fedora-40.patch create mode 100644 builder/patches/R-3.6.0-fedora-40.patch create mode 100644 builder/patches/R-3.6.1-fedora-40.patch create mode 100644 builder/patches/R-3.6.2-fedora-40.patch create mode 100644 builder/patches/R-3.6.3-fedora-40.patch create mode 100644 builder/patches/R-4.0.0-fedora-40.patch create mode 100644 builder/patches/R-4.0.1-fedora-40.patch create mode 100644 builder/patches/R-4.0.2-fedora-40.patch diff --git a/builder/patches/R-3.0.0-fedora-40.patch b/builder/patches/R-3.0.0-fedora-40.patch new file mode 100644 index 0000000..57deb62 --- /dev/null +++ b/builder/patches/R-3.0.0-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index 6aea90a..add4f05 100755 +--- a/configure ++++ b/configure +@@ -33626,7 +33626,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -33690,9 +33690,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.0.1-fedora-40.patch b/builder/patches/R-3.0.1-fedora-40.patch new file mode 100644 index 0000000..57deb62 --- /dev/null +++ b/builder/patches/R-3.0.1-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index 6aea90a..add4f05 100755 +--- a/configure ++++ b/configure +@@ -33626,7 +33626,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -33690,9 +33690,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.0.2-fedora-40.patch b/builder/patches/R-3.0.2-fedora-40.patch new file mode 100644 index 0000000..57deb62 --- /dev/null +++ b/builder/patches/R-3.0.2-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index 6aea90a..add4f05 100755 +--- a/configure ++++ b/configure +@@ -33626,7 +33626,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -33690,9 +33690,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.0.3-fedora-40.patch b/builder/patches/R-3.0.3-fedora-40.patch new file mode 100644 index 0000000..57deb62 --- /dev/null +++ b/builder/patches/R-3.0.3-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index 6aea90a..add4f05 100755 +--- a/configure ++++ b/configure +@@ -33626,7 +33626,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -33690,9 +33690,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.1.0-fedora-40.patch b/builder/patches/R-3.1.0-fedora-40.patch new file mode 100644 index 0000000..e6b3b2e --- /dev/null +++ b/builder/patches/R-3.1.0-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index dfe3b71..a9a6790 100755 +--- a/configure ++++ b/configure +@@ -34117,7 +34117,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34181,9 +34181,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.1.1-fedora-40.patch b/builder/patches/R-3.1.1-fedora-40.patch new file mode 100644 index 0000000..e6b3b2e --- /dev/null +++ b/builder/patches/R-3.1.1-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index dfe3b71..a9a6790 100755 +--- a/configure ++++ b/configure +@@ -34117,7 +34117,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34181,9 +34181,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.1.2-fedora-40.patch b/builder/patches/R-3.1.2-fedora-40.patch new file mode 100644 index 0000000..e6b3b2e --- /dev/null +++ b/builder/patches/R-3.1.2-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index dfe3b71..a9a6790 100755 +--- a/configure ++++ b/configure +@@ -34117,7 +34117,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34181,9 +34181,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.1.3-fedora-40.patch b/builder/patches/R-3.1.3-fedora-40.patch new file mode 100644 index 0000000..e6b3b2e --- /dev/null +++ b/builder/patches/R-3.1.3-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index dfe3b71..a9a6790 100755 +--- a/configure ++++ b/configure +@@ -34117,7 +34117,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34181,9 +34181,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.2.0-fedora-40.patch b/builder/patches/R-3.2.0-fedora-40.patch new file mode 100644 index 0000000..92c141a --- /dev/null +++ b/builder/patches/R-3.2.0-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index b9d91b7..a61cfe4 100755 +--- a/configure ++++ b/configure +@@ -34212,7 +34212,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34276,9 +34276,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.2.1-fedora-40.patch b/builder/patches/R-3.2.1-fedora-40.patch new file mode 100644 index 0000000..92c141a --- /dev/null +++ b/builder/patches/R-3.2.1-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index b9d91b7..a61cfe4 100755 +--- a/configure ++++ b/configure +@@ -34212,7 +34212,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34276,9 +34276,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.2.2-fedora-40.patch b/builder/patches/R-3.2.2-fedora-40.patch new file mode 100644 index 0000000..92c141a --- /dev/null +++ b/builder/patches/R-3.2.2-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index b9d91b7..a61cfe4 100755 +--- a/configure ++++ b/configure +@@ -34212,7 +34212,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34276,9 +34276,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.2.3-fedora-40.patch b/builder/patches/R-3.2.3-fedora-40.patch new file mode 100644 index 0000000..92c141a --- /dev/null +++ b/builder/patches/R-3.2.3-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index b9d91b7..a61cfe4 100755 +--- a/configure ++++ b/configure +@@ -34212,7 +34212,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34276,9 +34276,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.2.4-fedora-40.patch b/builder/patches/R-3.2.4-fedora-40.patch new file mode 100644 index 0000000..92c141a --- /dev/null +++ b/builder/patches/R-3.2.4-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index b9d91b7..a61cfe4 100755 +--- a/configure ++++ b/configure +@@ -34212,7 +34212,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34276,9 +34276,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.2.5-fedora-40.patch b/builder/patches/R-3.2.5-fedora-40.patch new file mode 100644 index 0000000..92c141a --- /dev/null +++ b/builder/patches/R-3.2.5-fedora-40.patch @@ -0,0 +1,26 @@ +diff --git a/configure b/configure +index b9d91b7..a61cfe4 100755 +--- a/configure ++++ b/configure +@@ -34212,7 +34212,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -34276,9 +34276,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } diff --git a/builder/patches/R-3.3.0-fedora-40.patch b/builder/patches/R-3.3.0-fedora-40.patch new file mode 100644 index 0000000..57f22df --- /dev/null +++ b/builder/patches/R-3.3.0-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 8dfd4b6..88f4e07 100755 +--- a/configure ++++ b/configure +@@ -35612,7 +35612,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -35673,9 +35673,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -36251,6 +36253,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.3.1-fedora-40.patch b/builder/patches/R-3.3.1-fedora-40.patch new file mode 100644 index 0000000..57f22df --- /dev/null +++ b/builder/patches/R-3.3.1-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 8dfd4b6..88f4e07 100755 +--- a/configure ++++ b/configure +@@ -35612,7 +35612,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -35673,9 +35673,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -36251,6 +36253,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.3.2-fedora-40.patch b/builder/patches/R-3.3.2-fedora-40.patch new file mode 100644 index 0000000..57f22df --- /dev/null +++ b/builder/patches/R-3.3.2-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 8dfd4b6..88f4e07 100755 +--- a/configure ++++ b/configure +@@ -35612,7 +35612,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -35673,9 +35673,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -36251,6 +36253,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.3.3-fedora-40.patch b/builder/patches/R-3.3.3-fedora-40.patch new file mode 100644 index 0000000..57f22df --- /dev/null +++ b/builder/patches/R-3.3.3-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 8dfd4b6..88f4e07 100755 +--- a/configure ++++ b/configure +@@ -35612,7 +35612,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -35673,9 +35673,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -36251,6 +36253,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.4.0-fedora-40.patch b/builder/patches/R-3.4.0-fedora-40.patch new file mode 100644 index 0000000..b46fce2 --- /dev/null +++ b/builder/patches/R-3.4.0-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index a314719..a59cda1 100755 +--- a/configure ++++ b/configure +@@ -40433,7 +40433,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -40494,9 +40494,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -41072,6 +41074,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.4.1-fedora-40.patch b/builder/patches/R-3.4.1-fedora-40.patch new file mode 100644 index 0000000..b46fce2 --- /dev/null +++ b/builder/patches/R-3.4.1-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index a314719..a59cda1 100755 +--- a/configure ++++ b/configure +@@ -40433,7 +40433,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -40494,9 +40494,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -41072,6 +41074,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.4.2-fedora-40.patch b/builder/patches/R-3.4.2-fedora-40.patch new file mode 100644 index 0000000..b46fce2 --- /dev/null +++ b/builder/patches/R-3.4.2-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index a314719..a59cda1 100755 +--- a/configure ++++ b/configure +@@ -40433,7 +40433,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -40494,9 +40494,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -41072,6 +41074,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.4.3-fedora-40.patch b/builder/patches/R-3.4.3-fedora-40.patch new file mode 100644 index 0000000..b46fce2 --- /dev/null +++ b/builder/patches/R-3.4.3-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index a314719..a59cda1 100755 +--- a/configure ++++ b/configure +@@ -40433,7 +40433,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -40494,9 +40494,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -41072,6 +41074,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.4.4-fedora-40.patch b/builder/patches/R-3.4.4-fedora-40.patch new file mode 100644 index 0000000..b46fce2 --- /dev/null +++ b/builder/patches/R-3.4.4-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index a314719..a59cda1 100755 +--- a/configure ++++ b/configure +@@ -40433,7 +40433,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -40494,9 +40494,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -41072,6 +41074,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.5.0-fedora-40.patch b/builder/patches/R-3.5.0-fedora-40.patch new file mode 100644 index 0000000..bfb1079 --- /dev/null +++ b/builder/patches/R-3.5.0-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 281751a..3b1f649 100755 +--- a/configure ++++ b/configure +@@ -42413,7 +42413,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42474,9 +42474,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -43184,6 +43186,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.5.1-fedora-40.patch b/builder/patches/R-3.5.1-fedora-40.patch new file mode 100644 index 0000000..bfb1079 --- /dev/null +++ b/builder/patches/R-3.5.1-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 281751a..3b1f649 100755 +--- a/configure ++++ b/configure +@@ -42413,7 +42413,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42474,9 +42474,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -43184,6 +43186,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.5.2-fedora-40.patch b/builder/patches/R-3.5.2-fedora-40.patch new file mode 100644 index 0000000..bfb1079 --- /dev/null +++ b/builder/patches/R-3.5.2-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 281751a..3b1f649 100755 +--- a/configure ++++ b/configure +@@ -42413,7 +42413,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42474,9 +42474,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -43184,6 +43186,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.5.3-fedora-40.patch b/builder/patches/R-3.5.3-fedora-40.patch new file mode 100644 index 0000000..bfb1079 --- /dev/null +++ b/builder/patches/R-3.5.3-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 281751a..3b1f649 100755 +--- a/configure ++++ b/configure +@@ -42413,7 +42413,7 @@ char BZ2_bzlibVersion (); + + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42474,9 +42474,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -43184,6 +43186,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.6.0-fedora-40.patch b/builder/patches/R-3.6.0-fedora-40.patch new file mode 100644 index 0000000..6a8b56b --- /dev/null +++ b/builder/patches/R-3.6.0-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 976de50..6490bcf 100755 +--- a/configure ++++ b/configure +@@ -42177,7 +42177,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42238,9 +42238,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -42946,6 +42948,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.6.1-fedora-40.patch b/builder/patches/R-3.6.1-fedora-40.patch new file mode 100644 index 0000000..6a8b56b --- /dev/null +++ b/builder/patches/R-3.6.1-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 976de50..6490bcf 100755 +--- a/configure ++++ b/configure +@@ -42177,7 +42177,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42238,9 +42238,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -42946,6 +42948,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.6.2-fedora-40.patch b/builder/patches/R-3.6.2-fedora-40.patch new file mode 100644 index 0000000..6a8b56b --- /dev/null +++ b/builder/patches/R-3.6.2-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 976de50..6490bcf 100755 +--- a/configure ++++ b/configure +@@ -42177,7 +42177,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42238,9 +42238,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -42946,6 +42948,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-3.6.3-fedora-40.patch b/builder/patches/R-3.6.3-fedora-40.patch new file mode 100644 index 0000000..6a8b56b --- /dev/null +++ b/builder/patches/R-3.6.3-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 976de50..6490bcf 100755 +--- a/configure ++++ b/configure +@@ -42177,7 +42177,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -42238,9 +42238,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -42946,6 +42948,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-4.0.0-fedora-40.patch b/builder/patches/R-4.0.0-fedora-40.patch new file mode 100644 index 0000000..b712c8a --- /dev/null +++ b/builder/patches/R-4.0.0-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 7a9f1f0..30d76b6 100755 +--- a/configure ++++ b/configure +@@ -45339,7 +45339,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -45400,9 +45400,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -46109,6 +46111,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-4.0.1-fedora-40.patch b/builder/patches/R-4.0.1-fedora-40.patch new file mode 100644 index 0000000..b712c8a --- /dev/null +++ b/builder/patches/R-4.0.1-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 7a9f1f0..30d76b6 100755 +--- a/configure ++++ b/configure +@@ -45339,7 +45339,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -45400,9 +45400,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -46109,6 +46111,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main() diff --git a/builder/patches/R-4.0.2-fedora-40.patch b/builder/patches/R-4.0.2-fedora-40.patch new file mode 100644 index 0000000..b712c8a --- /dev/null +++ b/builder/patches/R-4.0.2-fedora-40.patch @@ -0,0 +1,34 @@ +diff --git a/configure b/configure +index 7a9f1f0..30d76b6 100755 +--- a/configure ++++ b/configure +@@ -45339,7 +45339,7 @@ char BZ2_bzlibVersion (); + #endif + #endif + int +-main () ++main (void) + { + return BZ2_bzlibVersion (); + ; +@@ -45400,9 +45400,11 @@ else + /* end confdefs.h. */ + + #ifdef HAVE_BZLIB_H ++#include // for exit ++#include // for strcmp + #include + #endif +-int main() { ++int main(void) { + char *ver = BZ2_bzlibVersion(); + exit(strcmp(ver, "1.0.6") < 0); + } +@@ -46109,6 +46111,7 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include + #include + #include + int main()