On Thu, 2011-04-14 at 14:29 +0200, Ondřej Surý wrote: > severity 621450 grave > thank you > > There's a bug in xastir configure macros which causes the package to > build against db5.1 headers, but link to libdb4.8 shared library. > Increasing severity of this bug, since this could lead to severe data > loss. > > This patch should fix that: > > diff -urNap xastir-1.9.4~/acinclude.m4 xastir-1.9.4/acinclude.m4 > --- xastir-1.9.4~/acinclude.m4 2008-08-15 04:36:09.000000000 +0000 > +++ xastir-1.9.4/acinclude.m4 2011-04-14 12:28:20.777917001 +0000 > @@ -1012,7 +1012,7 @@ AC_DEFUN([XASTIR_BERKELEY_DB_CHK_LIB], > # to specify the function call with the full prototype for it to be found. > BDB_LIB_FOUND="none" > AC_MSG_CHECKING([for a library containing db_create]) > - for dbname in db-4.9 db4.9 db49 db-4.8 db4.8 db48 db-4.7 > db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 > db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 > db-4 db40 db4 db > + for dbname in db > do > LIBS="$saved_LIBS -l$dbname" > AC_TRY_LINK( > > > (or add a db-5.1 which will fix this for db5.1, but will break again > for db5.2, etc...) > > Ondrej > -- > Ondřej Surý <ond...@sury.org> > > > Incorporated patch into rebuilt package on mentors. Changed slightly to move db to front of list instead of last on list versus your patch of solo entry. Only downside is change to *.ac file causes change to a number of .in files that gets bundled up in a debian-changes patch file.
-- Jerry Stueve <k4...@arrl.net> GPG Fingerprint: 649A D922 01E7 3D72 0170 518F C49B 810C 5A0B 7597
signature.asc
Description: This is a digitally signed message part