pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib If no db.h or variant e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e494757d42b
branches:  trunk
changeset: 553925:6e494757d42b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 03 13:18:03 2009 +0000

description:
If no db.h or variant exists, use the one from nbcompat.
For PR 40544.

diffstat:

 pkgtools/pkg_install/files/lib/pkgdb.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 1c6c8634b314 -r 6e494757d42b pkgtools/pkg_install/files/lib/pkgdb.c
--- a/pkgtools/pkg_install/files/lib/pkgdb.c    Tue Feb 03 13:15:34 2009 +0000
+++ b/pkgtools/pkg_install/files/lib/pkgdb.c    Tue Feb 03 13:18:03 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pkgdb.c,v 1.31 2009/02/02 12:35:01 joerg Exp $ */
+/*     $NetBSD: pkgdb.c,v 1.32 2009/02/03 13:18:03 joerg Exp $ */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -7,7 +7,7 @@
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: pkgdb.c,v 1.31 2009/02/02 12:35:01 joerg Exp $");
+__RCSID("$NetBSD: pkgdb.c,v 1.32 2009/02/03 13:18:03 joerg Exp $");
 
 /*-
  * Copyright (c) 1999-2008 The NetBSD Foundation, Inc.
@@ -44,6 +44,8 @@
 #include <db1/db.h>
 #elif HAVE_DB_H
 #include <db.h>
+#else
+#include <nbcompat/db.h>
 #endif
 #if HAVE_ERR_H
 #include <err.h>



Home | Main Index | Thread Index | Old Index