Added forgotten confpost.patch.

This commit is contained in:
Honza Horák 2012-02-07 14:32:52 +01:00
parent 03466cc992
commit 69a9613448
1 changed files with 14 additions and 0 deletions

View File

@ -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
+