summaryrefslogtreecommitdiff
path: root/testing/ypserv/confpost.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ypserv/confpost.patch')
-rw-r--r--testing/ypserv/confpost.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/ypserv/confpost.patch b/testing/ypserv/confpost.patch
new file mode 100644
index 000000000..489e4368a
--- /dev/null
+++ b/testing/ypserv/confpost.patch
@@ -0,0 +1,14 @@
+diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h
+--- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100
++++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100
+@@ -0,0 +1,10 @@
++/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
++ * libraries gdbm and qdbm have same symbol names. */
++#undef HAVE_COMPAT_LIBGDBM
++#ifdef HAVE_LIBGDBM
++#define HAVE_COMPAT_LIBGDBM
++#endif
++#ifdef HAVE_LIBQDBM
++#define HAVE_COMPAT_LIBGDBM
++#endif
++