aboutsummaryrefslogtreecommitdiff
path: root/dns/bind97-sdb/files/patch-pgsql-bin__named__main.c
diff options
context:
space:
mode:
Diffstat (limited to 'dns/bind97-sdb/files/patch-pgsql-bin__named__main.c')
-rw-r--r--dns/bind97-sdb/files/patch-pgsql-bin__named__main.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/dns/bind97-sdb/files/patch-pgsql-bin__named__main.c b/dns/bind97-sdb/files/patch-pgsql-bin__named__main.c
new file mode 100644
index 000000000000..0db381f44aa3
--- /dev/null
+++ b/dns/bind97-sdb/files/patch-pgsql-bin__named__main.c
@@ -0,0 +1,26 @@
+--- bin/named/main.c.orig 2011-06-10 10:18:35.000000000 -0700
++++ bin/named/main.c 2011-06-10 10:03:45.000000000 -0700
+@@ -74,6 +74,7 @@
+ * Include header files for database drivers here.
+ */
+ /* #include "xxdb.h" */
++#include <pgsqldb.h>
+
+ /*
+ * Include DLZ drivers if appropriate.
+@@ -841,6 +842,7 @@
+ * Add calls to register sdb drivers here.
+ */
+ /* xxdb_init(); */
++ pgsqldb_init();
+
+ #ifdef DLZ
+ /*
+@@ -867,6 +869,7 @@
+ * Add calls to unregister sdb drivers here.
+ */
+ /* xxdb_clear(); */
++ pgsqldb_clear();
+
+ #ifdef DLZ
+ /*