Debian Codegraph @

debian/patches/ignore_patchlevel_check

raw
1 Author: Marco d'Itri <[email protected]>
2 Description: accept as valid different patchlevels
3 Without this change the compiled BerkeleyDB.xs will depend on the exact
4 patchlevel version of the libdb it was built with.
5 Bug-Debian: http://bugs.debian.org/290988
6 Forwarded: no
7
8 --- a/BerkeleyDB.xs
9 +++ b/BerkeleyDB.xs
10 @@ -6167,7 +6167,7 @@ BOOT:
11 (void)db_version(&Major, &Minor, &Patch) ;
12 /* Check that the versions of db.h and libdb.a are the same */
13 if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR
14 - || Patch != DB_VERSION_PATCH)
15 + )
16 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",
17 DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
18 Major, Minor, Patch) ;