-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from rstudio/fix/R-3.3.x-zlib
- Loading branch information
Showing
15 changed files
with
79 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/configure b/configure | ||
index e53821d..d26fd72 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -35496,10 +35496,11 @@ else | ||
#include <string.h> | ||
#include <zlib.h> | ||
int main() { | ||
-#ifdef ZLIB_VERSION | ||
-/* Work around Debian bug: it uses 1.2.3.4 even though there was no such | ||
- version on the master site zlib.net */ | ||
- exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0); | ||
+#ifdef ZLIB_VERNUM | ||
+ if (ZLIB_VERNUM < 0x1250) { | ||
+ exit(1); | ||
+ } | ||
+ exit(0); | ||
#else | ||
exit(1); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/configure b/configure | ||
index e53821d..d26fd72 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -35496,10 +35496,11 @@ else | ||
#include <string.h> | ||
#include <zlib.h> | ||
int main() { | ||
-#ifdef ZLIB_VERSION | ||
-/* Work around Debian bug: it uses 1.2.3.4 even though there was no such | ||
- version on the master site zlib.net */ | ||
- exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0); | ||
+#ifdef ZLIB_VERNUM | ||
+ if (ZLIB_VERNUM < 0x1250) { | ||
+ exit(1); | ||
+ } | ||
+ exit(0); | ||
#else | ||
exit(1); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/configure b/configure | ||
index e53821d..d26fd72 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -35496,10 +35496,11 @@ else | ||
#include <string.h> | ||
#include <zlib.h> | ||
int main() { | ||
-#ifdef ZLIB_VERSION | ||
-/* Work around Debian bug: it uses 1.2.3.4 even though there was no such | ||
- version on the master site zlib.net */ | ||
- exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0); | ||
+#ifdef ZLIB_VERNUM | ||
+ if (ZLIB_VERNUM < 0x1250) { | ||
+ exit(1); | ||
+ } | ||
+ exit(0); | ||
#else | ||
exit(1); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Patches | ||
|
||
Patches can be applied for specific R versions and platforms. To add a patch, create a patch file | ||
at `patches/R-${R_VERSION}.patch` (such as `patches/R-devel.patch`), and add the following line | ||
to the platform Dockerfile: | ||
Patches can be applied for specific R versions and platforms. To add a patch for an R version on | ||
all platforms, create a patch file at `patches/R-${R_VERSION}.patch` (such as | ||
`patches/R-devel.patch`). | ||
|
||
```dockerfile | ||
COPY patches /patches | ||
``` | ||
To add a patch for an R version on a specific platform create a patch file at | ||
`patches/R-${R_VERSION}-${OS_IDENTIFIER}.patch` (such as | ||
`patches/R-3.3.0-centos-8.patch`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters