From 3c3abc192a9c1c67ddae5b93e6c1ae2c38e1e95f Mon Sep 17 00:00:00 2001 From: Daniel Hartwig Date: Sat, 30 Jun 2012 02:19:25 +0800 Subject: Partial fix for using debtags without libept --- NEWS | 5 +++++ src/pkg_grouppolicy.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index aaf1eab3..20e2bf54 100644 --- a/NEWS +++ b/NEWS @@ -198,6 +198,11 @@ behaviour is desirable for two reasons: output which makes them easier to spot when there is lots of output. (Closes: #430392) +- Build system changes: + + * Using libept is optional; use --disable-ept to disable it. + Debtags are not properly supported without libept. + - Documentation: * [doc]: add section on exit status to the man page diff --git a/src/pkg_grouppolicy.cc b/src/pkg_grouppolicy.cc index 97875c08..5bd8f4af 100644 --- a/src/pkg_grouppolicy.cc +++ b/src/pkg_grouppolicy.cc @@ -1615,7 +1615,7 @@ public: string desc(get_facet_long_description(*ti)); string shortdesc(get_facet_short_description(*ti)); #else // HAVE_EPT - string desc = get_facet_description(*ti); + string desc = facet_description(thisfacet); string shortdesc(desc, 0, desc.find('\n')); #endif -- cgit v1.2.3