Add missing patch files
Thanks .gitignore!
This commit is contained in:
parent
33c666c5b4
commit
7b9cc43452
3 changed files with 60 additions and 0 deletions
20
builder/patches/R-3.3.0.patch
Normal file
20
builder/patches/R-3.3.0.patch
Normal file
|
|
@ -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
|
||||
20
builder/patches/R-3.3.1.patch
Normal file
20
builder/patches/R-3.3.1.patch
Normal file
|
|
@ -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
|
||||
20
builder/patches/R-3.3.2.patch
Normal file
20
builder/patches/R-3.3.2.patch
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue