Package: aptitude
Version: 0.6.3-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

Attached is a small patch to make aptitude compile against the latest
apt in experimental. 

Thanks,
 Michael

-- Package-specific info:
aptitude 0.6.3 compiled at Jul 10 2010 17:35:51
Compiler: g++ 4.4.4
Compiled against:
  apt version 4.8.0
  NCurses version 5.7
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20100626
  cwidget version: 0.5.16
  Apt version: 4.8.0
        libapt-pkg-libc6.10-6.so.4.8 => /usr/lib/libapt-pkg-libc6.10-6.so.4.8 
(0x00769000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00ae0000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00110000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00517000)
        libept.so.1 => /usr/lib/libept.so.1 (0x00641000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00117000)
        libz.so.1 => /lib/libz.so.1 (0x00f2a000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00264000)
        libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 
(0x002ee000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00a05000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00308000)
        libm.so.6 => /lib/libm.so.6 (0x00d20000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00c6e000)
        libc.so.6 => /lib/libc.so.6 (0x00834000)
        libutil.so.1 => /lib/libutil.so.1 (0x003f4000)
        libdl.so.2 => /lib/libdl.so.2 (0x00e87000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x003f8000)
        librt.so.1 => /lib/librt.so.1 (0x00b7d000)
        /lib/ld-linux.so.2 (0x00fd1000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:


*** /tmp/tmpbf90AT
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/15_ftbfs_new_apt:
    - fix build failure with latest apt

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 
'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru aptitude-0.6.3/debian/patches/15_ftbfs_new_apt aptitude-0.6.3/debian/patches/15_ftbfs_new_apt
--- aptitude-0.6.3/debian/patches/15_ftbfs_new_apt	1970-01-01 01:00:00.000000000 +0100
+++ aptitude-0.6.3/debian/patches/15_ftbfs_new_apt	2010-07-29 14:57:57.000000000 +0200
@@ -0,0 +1,13 @@
+Index: aptitude-0.6.3/src/main.cc
+===================================================================
+--- aptitude-0.6.3.orig/src/main.cc	2010-07-29 14:57:47.065075001 +0200
++++ aptitude-0.6.3/src/main.cc	2010-07-29 14:57:54.675075001 +0200
+@@ -1059,7 +1059,7 @@
+ 	{
+ 	  // Connect up the "please consume errors" routine for the
+ 	  // command-line.
+-	  consume_errors.connect(sigc::mem_fun(_error, &GlobalError::DumpErrors));
++	  consume_errors.connect(sigc::mem_fun0(_error, &GlobalError::DumpErrors));
+ 
+ 	  if(update_only || install_only || autoclean_only || clean_only)
+ 	    {

Reply via email to