wok-6.x view ypserv/stuff/confpost.patch @ rev 12186

ola: Fix depends and bdeps (Tom wants also libusb)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 25 22:12:04 2012 +0200 (2012-03-25)
parents
children
line source
1 diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h
2 --- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100
3 +++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100
4 @@ -0,0 +1,10 @@
5 +/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
6 + * libraries gdbm and qdbm have same symbol names. */
7 +#undef HAVE_COMPAT_LIBGDBM
8 +#ifdef HAVE_LIBGDBM
9 +#define HAVE_COMPAT_LIBGDBM
10 +#endif
11 +#ifdef HAVE_LIBQDBM
12 +#define HAVE_COMPAT_LIBGDBM
13 +#endif
14 +