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-3.3.3-fedora-40.patch
Normal file
34
builder/patches/R-3.3.3-fedora-40.patch
Normal file
|
|
@ -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 <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);
|
||||
}
|
||||
@@ -36251,6 +36253,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