ypserv/ypserv-2.27-confpost.patch

18 lines
499 B
Diff
Raw Normal View History

2013-05-06 16:52:37 +00:00
diff -up ./conf_post.h.confpost ./conf_post.h
--- ./conf_post.h.confpost 2012-04-17 15:47:28.000000000 +0200
+++ ./conf_post.h 2013-05-06 18:34:54.274640856 +0200
@@ -8,3 +8,13 @@
#define HAVE_COMPAT_LIBGDBM
#endif
2012-02-07 13:32:52 +00:00
+/* 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
+