]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- changed my mind, db3 is now The Right DB
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 2 Aug 2000 18:30:35 +0000 (18:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-db3.patch -> 1.1

rpm-db3.patch [new file with mode: 0644]

diff --git a/rpm-db3.patch b/rpm-db3.patch
new file mode 100644 (file)
index 0000000..8685c74
--- /dev/null
@@ -0,0 +1,33 @@
+diff -ur rpm-3.0.5/configure.in rpm-3.0.5.bak/configure.in
+--- rpm-3.0.5/configure.in     Wed Aug  2 19:54:12 2000
++++ rpm-3.0.5.bak/configure.in Wed Aug  2 16:48:45 2000
+@@ -301,7 +301,7 @@
+ AC_CHECK_LIB(port, writev)
+ AC_CHECK_FUNC(dbopen, [],
+-  AC_CHECK_LIB(db1, dbopen, [LIBS="$LIBS -ldb1"],
++  AC_CHECK_LIB(db3, __db185_open, [LIBS="$LIBS -ldb3"],
+     AC_CHECK_LIB(db, dbopen, [LIBS="$LIBS -ldb"],
+        AC_MSG_ERROR([sorry rpm requires a db-1.85 API])))
+            )
+diff -ur rpm-3.0.5/lib/dbindex.h rpm-3.0.5.bak/lib/dbindex.h
+--- rpm-3.0.5/lib/dbindex.h    Wed Jun 14 14:34:30 2000
++++ rpm-3.0.5.bak/lib/dbindex.h        Wed Aug  2 19:53:32 2000
+@@ -1,6 +1,8 @@
+ #ifndef H_DBINDEX
+ #define H_DBINDEX
++#include <db3/db_185.h>
++/*
+ #ifdef HAVE_DB1_DB_H
+ #include <db1/db.h>
+ #else
+@@ -10,7 +12,7 @@
+ #include <db.h>
+ #endif
+ #endif
+-
++*/
+ /* this will break if sizeof(int) != 4 */
+ typedef /*@abstract@*/ struct {
This page took 0.048827 seconds and 4 git commands to generate.