瀏覽代碼

Fix dselect segfault by adding a field description matching the
dependency field enum position. Closes: #392731, #392724

Guillem Jover 20 年之前
父節點
當前提交
dc274f602c
共有 3 個文件被更改,包括 10 次插入0 次删除
  1. 5 0
      ChangeLog
  2. 4 0
      debian/changelog
  3. 1 0
      dselect/pkgdisplay.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2006-10-13  Guillem Jover  <guillem@debian.org>
+
+	* dselect/pkgdisplay.cc (relatestrings): Add a string for the Breaks
+	field as it should match the enum debtype in 'lib/dpkg-db.h'.
+
 2006-10-12  Guillem Jover  <guillem@debian.org>
 
 	* configure.ac: Bump version to 1.13.24~.

+ 4 - 0
debian/changelog

@@ -1,5 +1,9 @@
 dpkg (1.13.24~) UNRELEASED; urgency=low
 
+  [ Guillem Jover ]
+  * Fix dselect segfault by adding a field description matching the
+    dependency field enum position. Closes: #392731, #392724
+
   [ Updated dpkg Translations ]
   * Nepali (Shiva Prasad Pokharel). Closes: #373728
   * Catalan (Jordi Mallach). Closes: #383448

+ 1 - 0
dselect/pkgdisplay.cc

@@ -72,6 +72,7 @@ const char
 			    N_("recommends"),
 			    N_("depends on"),
 			    N_("pre-depends on"),
+			    N_("breaks with"),
 			    N_("conflicts with"),
 			    N_("provides"),
 			    N_("replaces"),