Blame SOURCES/ypserv-2.27-confpost.patch

97edbe
diff -up ./conf_post.h.confpost ./conf_post.h
97edbe
--- ./conf_post.h.confpost	2012-04-17 15:47:28.000000000 +0200
97edbe
+++ ./conf_post.h	2013-05-06 18:34:54.274640856 +0200
97edbe
@@ -8,3 +8,13 @@
97edbe
 #define HAVE_COMPAT_LIBGDBM
97edbe
 #endif
97edbe
 
97edbe
+/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
97edbe
+ * libraries gdbm and qdbm have same symbol names. */
97edbe
+#undef HAVE_COMPAT_LIBGDBM
97edbe
+#ifdef HAVE_LIBGDBM
97edbe
+#define HAVE_COMPAT_LIBGDBM
97edbe
+#endif
97edbe
+#ifdef HAVE_LIBQDBM
97edbe
+#define HAVE_COMPAT_LIBGDBM
97edbe
+#endif
97edbe
+