xbps_find_pkg_deps: simplify, fix multi-repo bug, add debugging.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091121061242-22ow43an9ksa8y0b
This commit is contained in:
Juan RP
2009-11-21 07:12:42 +01:00
parent cf575b88c2
commit 71ea9d2d1f
3 changed files with 71 additions and 108 deletions

View File

@ -69,6 +69,12 @@
#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
#endif
#ifdef DEBUG
#define DPRINTF(x) printf x
#else
#define DPRINTF(x)
#endif
#if __GNUC__ >= 4
#define SYMEXPORT __attribute__ ((visibility("default")))
#else