]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-db3.patch
- changed my mind, db3 is now The Right DB
[packages/rpm.git] / rpm-db3.patch
CommitLineData
dc2cf46e
JR
1diff -ur rpm-3.0.5/configure.in rpm-3.0.5.bak/configure.in
2--- rpm-3.0.5/configure.in Wed Aug 2 19:54:12 2000
3+++ rpm-3.0.5.bak/configure.in Wed Aug 2 16:48:45 2000
4@@ -301,7 +301,7 @@
5 AC_CHECK_LIB(port, writev)
6
7 AC_CHECK_FUNC(dbopen, [],
8- AC_CHECK_LIB(db1, dbopen, [LIBS="$LIBS -ldb1"],
9+ AC_CHECK_LIB(db3, __db185_open, [LIBS="$LIBS -ldb3"],
10 AC_CHECK_LIB(db, dbopen, [LIBS="$LIBS -ldb"],
11 AC_MSG_ERROR([sorry rpm requires a db-1.85 API])))
12 )
13diff -ur rpm-3.0.5/lib/dbindex.h rpm-3.0.5.bak/lib/dbindex.h
14--- rpm-3.0.5/lib/dbindex.h Wed Jun 14 14:34:30 2000
15+++ rpm-3.0.5.bak/lib/dbindex.h Wed Aug 2 19:53:32 2000
16@@ -1,6 +1,8 @@
17 #ifndef H_DBINDEX
18 #define H_DBINDEX
19
20+#include <db3/db_185.h>
21+/*
22 #ifdef HAVE_DB1_DB_H
23 #include <db1/db.h>
24 #else
25@@ -10,7 +12,7 @@
26 #include <db.h>
27 #endif
28 #endif
29-
30+*/
31 /* this will break if sizeof(int) != 4 */
32
33 typedef /*@abstract@*/ struct {
This page took 0.034809 seconds and 4 git commands to generate.