File: override-bz2-version-check.patch

package info (click to toggle)
r-base 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 87,288 kB
  • sloc: ansic: 271,827; fortran: 99,804; makefile: 5,102; yacc: 5,065; sh: 4,968; tcl: 4,562; objc: 753; perl: 655; asm: 258; java: 31; sed: 9
file content (22 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- r-base-2.13.1.orig/configure
+++ r-base-2.13.1/configure
@@ -32899,7 +32899,7 @@
 #endif
 int main() {
     char *ver = BZ2_bzlibVersion();
-    exit(strcmp(ver, "1.0.6") < 0);
+    exit(0); /* edd: override, Debian's 1.0.5 is patched  strcmp(ver, "1.0.6") < 0); */
 }
 
 _ACEOF
--- r-base-2.13.1.orig/m4/R.m4
+++ r-base-2.13.1/m4/R.m4
@@ -3049,7 +3049,7 @@
 #endif
 int main() {
     char *ver = BZ2_bzlibVersion();
-    exit(strcmp(ver, "1.0.6") < 0);
+    exit(0); /* edd: override, Debian's 1.0.5 is patched  strcmp(ver, "1.0.6") < 0); */
 }
 ]])], [r_cv_have_bzlib=yes], [r_cv_have_bzlib=no], [r_cv_have_bzlib=no])
 LIBS="${r_save_LIBS}"