File: ignore_patchlevel_check

package info (click to toggle)
libberkeleydb-perl 0.55-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,480 kB
  • ctags: 331
  • sloc: perl: 11,228; ansic: 6,451; makefile: 56
file content (17 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: accept as valid different patchlevels
 Without this change the compiled BerkeleyDB.xs will depend on the exact
 patchlevel version of the libdb it was built with.
Bug-Debian: http://bugs.debian.org/290988
Forwarded: no

--- a/BerkeleyDB.xs
+++ b/BerkeleyDB.xs
@@ -6167,7 +6167,7 @@ BOOT:
     (void)db_version(&Major, &Minor, &Patch) ;
     /* Check that the versions of db.h and libdb.a are the same */
     if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR
-		|| Patch != DB_VERSION_PATCH)
+		)
         croak("\nBerkeleyDB needs compatible versions of libdb & db.h\n\tyou have db.h version %d.%d.%d and libdb version %d.%d.%d\n",
                 DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
                 Major, Minor, Patch) ;