diff options
Diffstat (limited to 'security/nss/files/patch-sysdb')
-rw-r--r-- | security/nss/files/patch-sysdb | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/security/nss/files/patch-sysdb b/security/nss/files/patch-sysdb index f8101b93d445..7cb3cbf1ffa9 100644 --- a/security/nss/files/patch-sysdb +++ b/security/nss/files/patch-sysdb @@ -1,8 +1,3 @@ -This patches NSS' code to use the Operating System's standard <db.h> header -and the db-implementation from -lc. Seems to work on FreeBSD. - - -mi - --- lib/softoken/cdbhdl.h Sun Apr 25 11:03:16 2004 +++ lib/softoken/cdbhdl.h Fri Jul 22 00:25:16 2005 @@ -43,6 +43,6 @@ @@ -13,16 +8,7 @@ and the db-implementation from -lc. Seems to work on FreeBSD. +#include <nspr.h> +#include <db.h> #include "pcertt.h" - ---- lib/softoken/dbinit.c Tue Mar 29 13:21:18 2005 -+++ lib/softoken/dbinit.c Fri Jul 22 00:33:35 2005 -@@ -40,4 +40,5 @@ - - #include <ctype.h> -+#include <fcntl.h> - #include "seccomon.h" - #include "prinit.h" ---- lib/softoken/dbmshim.c Tue Mar 29 13:21:18 2005 + --- lib/softoken/dbmshim.c Tue Mar 29 13:21:18 2005 +++ lib/softoken/dbmshim.c Fri Jul 22 00:35:33 2005 @@ -40,5 +40,6 @@ * $Id: dbmshim.c,v 1.11 2005/03/29 18:21:18 nelsonb%netscape.com Exp $ @@ -177,3 +163,13 @@ and the db-implementation from -lc. Seems to work on FreeBSD. +#include <db.h> #include "secoidt.h" #include "secdert.h" +--- lib/softoken/dbinit.c.orig 2008-03-12 08:43:36.000000000 -0400 ++++ lib/softoken/dbinit.c 2008-03-12 08:44:10.000000000 -0400 +@@ -39,6 +39,7 @@ + /* $Id: dbinit.c,v 1.28.2.1 2006/09/22 00:21:03 julien.pierre.bugs%sun.com Exp $ */ + + #include <ctype.h> ++#include <fcntl.h> + #include "seccomon.h" + #include "prinit.h" + #include "prprf.h" |