Package: synaptic
Version: 0.62.7+b1
Severity: normal
Tags: patch

Synaptic segfaults when selecting any package with 'Enhances' while
formatting the dependency descriptions that appear in the package info
dialog @ rgpkgdetails.cc line 63.

This is caused by the lack of an 'Enhances' element in the DepTypeStr
array in rpackage.h.

Patch included to add 'Enhances' to the array.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages synaptic depends on:
ii  apt [libapt-pkg-libc6.9- 0.7.22.2        Advanced front-end for dpkg
ii  apt-utils [libapt-inst-l 0.7.22.2        APT utility programs
ii  hicolor-icon-theme       0.10-2          default fallback theme for FreeDes
ii  libatk1.0-0              1.26.0-1        The ATK accessibility toolkit
ii  libc6                    2.9-23          GNU C Library: Shared libraries
ii  libcairo2                1.8.8-2         The Cairo 2D vector graphics libra
ii  libfontconfig1           2.6.0-4         generic font configuration library
ii  libfreetype6             2.3.9-5         FreeType 2 font engine, shared lib
ii  libgcc1                  1:4.4.1-1       GCC support library
ii  libglade2-0              1:2.6.4-1       library to load .glade files at ru
ii  libglib2.0-0             2.20.4-1        The GLib library of C routines
ii  libgtk2.0-0              2.16.5-1        The GTK+ graphical user interface 
ii  libpango1.0-0            1.24.5-1        Layout and rendering of internatio
ii  libstdc++6               4.4.1-1         The GNU Standard C++ Library v3
ii  libvte9                  1:0.20.5-1      Terminal emulator widget for GTK+ 
ii  libx11-6                 2:1.2.2-1       X11 client-side library
ii  libxml2                  2.7.3.dfsg-2+b1 GNOME XML library
ii  rarian-compat [scrollkee 0.8.1-3         Rarian is a documentation meta-dat

Versions of packages synaptic recommends:
pn  deborphan                     <none>     (no description available)
ii  gksu                          2.0.2-2+b1 graphical frontend to su
ii  libgnome2-perl                1.042-2    Perl interface to the GNOME librar
ii  menu                          2.1.41     generates programs menu for all me

Versions of packages synaptic suggests:
pn  dwww                          <none>     (no description available)

-- no debconf information
--- synaptic-0.62.7/common/rpackage.h   2009-08-12 11:17:00.000000000 -0700
+++ synaptic-0.62.7-modified/common/rpackage.h  2009-08-12 11:17:16.000000000 
-0700
@@ -51,7 +51,7 @@
 static const char *DepTypeStr[] = 
    {"",_("Depends"),_("PreDepends"),_("Suggests"),
     _("Recommends"),_("Conflicts"),_("Replaces"),
-    _("Obsoletes"), _("Dependency of")};
+    _("Obsoletes"), _("Dependency of"), _("Enhances")};
 
 typedef struct  {
    pkgCache::Dep::DepType type; // type as enum

Reply via email to