Add Fedora 40 patches for R 3.0.0 - R 4.0.2
This commit is contained in:
parent
847c05edb0
commit
204e27d0d6
1 changed files with 1044 additions and 0 deletions
34
builder/patches/R-4.0.2-fedora-40.patch
Normal file
34
builder/patches/R-4.0.2-fedora-40.patch
Normal file
|
|
@ -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 <stdlib.h> // for exit
|
||||
+#include <string.h> // for strcmp
|
||||
#include <bzlib.h>
|
||||
#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 <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <curl/curl.h>
|
||||
int main()
|
||||
Loading…
Reference in a new issue