summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-06-30 02:19:25 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-06-30 02:19:25 +0800
commit3c3abc192a9c1c67ddae5b93e6c1ae2c38e1e95f (patch)
treee8fe0799e2e73f2f95ad8f3a712d01e9f09c9f8a
parent74776026063942535196e63d8a0bdd10a6fdca2c (diff)
downloadaptitude-3c3abc192a9c1c67ddae5b93e6c1ae2c38e1e95f.tar.gz
Partial fix for using debtags without libept
-rw-r--r--NEWS5
-rw-r--r--src/pkg_grouppolicy.cc2
2 files changed, 6 insertions, 1 deletions
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