Mailinglist Archive: zypp-commit (38 mails)

< Previous Next >
[zypp-commit] <sat-solver> master : - map db functions to rpm versions
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 31 Aug 2009 16:46:57 +0200
  • Message-id: <E1Mi8A8-0001uX-TH@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 1bb825c56f7ae4866e7f25c92a40c1760813a9f3
Author: Michael Schroeder <mls@xxxxxxx>
Date: Mon Aug 31 16:46:57 2009 +0200

- map db functions to rpm versions
---
ext/repo_rpmdb.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c
index d87e90f..0c3b97d 100644
--- a/ext/repo_rpmdb.c
+++ b/ext/repo_rpmdb.c
@@ -28,7 +28,11 @@
#include <rpm/rpmdb.h>

#ifndef DB_CREATE
-#include <db4/db.h>
+# ifndef FEDORA
+# define db_env_create db_env_create_rpmdb
+# define db_create db_create_rpmdb
+# endif
+# include <db4/db.h>
#endif

#include "pool.h"
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages