sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] BDB 5.0.21 Support


From: John Clizbe
Subject: Re: [Sks-devel] BDB 5.0.21 Support
Date: Mon, 17 May 2010 08:15:27 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10pre) Gecko/20100406 SeaMonkey/2.0.5 NOT Firefox/3.5.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

John Marshall wrote:
> Trawling the archives (08-Apr-2010) I see that John Clizbe managed to
> get SKS happy with Berkeley DB 5.0.21
> 
>> The DB_XA_CREATE flag to db_create() was removed from the BDB api
>> starting with 4.8.  SKS' bdb/bdb_stubs.c gets upset about it.
>> 
>> The 4.8 documentation says the flags value to db_create() is unused and
>> should be set to zero.
>> 
>> #defining DB_XA_CREATE to zero in bdb_stubs.c seems to be a quick fix.
> 
> Is there a patch available for this or should we wait for another SKS
> release?
> 
> (I'm not a programmer and don't want to break things by sticking code in
> the wrong place)

I cleaned it up to make it safe for versions < 4.8

address@hidden:~#  diff -u sks-1.1.1/bdb/bdb_stubs.c{~,}
- --- sks-1.1.1/bdb/bdb_stubs.c~  2010-05-17 07:43:26.000000000 -0500
+++ sks-1.1.1/bdb/bdb_stubs.c   2010-05-17 08:01:19.000000000 -0500
@@ -19,6 +19,10 @@
 #include <string.h>
 #include "bdb_stubs.h"

+#ifndef DB_XA_CREATE
+#define DB_XA_CREATE 0
+#endif
+
 #define True 1
 #define False 0

Regards,

- -John

- -- 
John P. Clizbe                      Inet: John (a) GingerBear DAWT net
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:address@hidden

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11-svn5341-2010-05-12 (Windows XP)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
Comment: Be part of the £€37 ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAkvxQWUACgkQ614Z89ZWmCVqHAD/fcogkI84hCo9n30ga2KKRj/T
ha3FdAhV/RkGSPtpRtUA/0KnSWRtBcchD02OiSr+nqd+GcAX854RiqRHVkUUOBRk
=L0ev
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]