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
26
builder/patches/R-3.0.2-fedora-40.patch
Normal file
26
builder/patches/R-3.0.2-fedora-40.patch
Normal file
|
|
@ -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 <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);
|
||||
}
|
||||
Loading…
Reference in a new issue