mirakels - 2005-11-26

In order to build xca with qt 3.3.4 I needed to make the following patch.

--- xca-0.5.1/widgets/MainWindow.cpp    2004-06-13 23:22:37.000000000 +0200
+++ ../xca-0.5.1/widgets/MainWindow.cpp 2005-11-26 14:58:33.000000000 +0100
@@ -445,7 +445,7 @@
        }
}

-void MainWindow::dberr(const char *errpfx, char *msg)
+void MainWindow::dberr(const DbEnv* dbenv, const char *errpfx, const char *msg)
{
        errorEx e(QString(errpfx) + "\n" + msg);
        Error(e);
diff -ur xca-0.5.1/widgets/MainWindow.h ../xca-0.5.1/widgets/MainWindow.h
--- xca-0.5.1/widgets/MainWindow.h      2004-04-15 01:36:56.000000000 +0200
+++ ../xca-0.5.1/widgets/MainWindow.h   2005-11-26 14:58:25.000000000 +0100
@@ -104,7 +104,7 @@
        int initPass();
        static int passRead(char *buf, int size, int rwflag, void *userdata);
        static int passWrite(char *buf, int size, int rwflag, void *userdata);
-       static void dberr(const char *errpfx, char *msg);
+       static void dberr(const DbEnv* dbenv, const char *errpfx, const char *msg);
        static NewX509 *newX509();
        static QString md5passwd(const char *pass);
        static void Error(errorEx &err);