termux-packages/packages/krb5/plugins-kdb-db2.patch

45 lines
1.2 KiB
Diff

--- ./plugins/kdb/db2/policy_db.h 2017-03-03 03:36:02.000000000 +0530
+++ ../policy_db.h 2017-04-02 09:46:43.244368060 +0530
@@ -30,7 +30,7 @@
where we find u_int32_t. */
#include <gssrpc/types.h>
#include <gssrpc/xdr.h>
-#include <db.h>
+#include <db_185.h>
#include "adb_err.h"
#include <com_err.h>
--- ./plugins/kdb/db2/adb_openclose.c 2017-03-03 03:36:02.000000000 +0530
+++ ../adb_openclose.c 2017-04-02 09:50:13.854729855 +0530
@@ -11,7 +11,7 @@
#include <unistd.h>
#include "policy_db.h"
#include <stdlib.h>
-#include <db.h>
+#include <db_185.h>
struct _locklist {
osa_adb_lock_ent lockinfo;
--- ./plugins/kdb/db2/db2_exp.c 2017-03-03 03:36:02.000000000 +0530
+++ ../db2_exp.c 2017-04-02 09:51:07.528042151 +0530
@@ -38,7 +38,7 @@
#include <unistd.h>
#endif
-#include <db.h>
+#include <db_185.h>
#include <stdio.h>
#include <errno.h>
#include <utime.h>
--- ./plugins/kdb/db2/kdb_db2.c 2017-03-03 03:36:02.000000000 +0530
+++ ../kdb_db2.c 2017-04-02 09:52:14.924568844 +0530
@@ -57,7 +57,7 @@
#include <unistd.h>
#endif
-#include <db.h>
+#include <db_185.h>
#include <stdio.h>
#include <errno.h>
#include <utime.h>