Package: aptitude Version: 0.4.0-1 Severity: serious Tags: patch There was an error while trying to autobuild your package:
> Automatic build of aptitude_0.4.0-1 on caballero by sbuild/ia64 69 > Build started at 20051104-1923 [...] > ** Using build dependencies supplied by package: > Build-Depends: libapt-pkg-dev (>= 0.6.0), debhelper (>= 4.0.0), > libsigc++-2.0-dev, libcppunit-dev, libncursesw5-dev, gettext, g++ (>= > 4:3.2.2-0), docbook-xsl, docbook-xml, xsltproc, html2text [...] > **** The following central src deps are (probably) missing: > autoconf, automake, m4, libncurses5-dev (>= 5.3.20030510-1) [...] > if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I../.. > -Wall -I../.. -I. -I../.. -I../../src -g -O2 -I/usr/include/sigc++-2.0 > -I/usr/lib/sigc++-2.0/include -D_REENTRANT -MT vscreen.o -MD -MP -MF > ".deps/vscreen.Tpo" -c -o vscreen.o vscreen.cc; \ > then mv -f ".deps/vscreen.Tpo" ".deps/vscreen.Po"; else rm -f > ".deps/vscreen.Tpo"; exit 1; fi > vscreen.cc: In function 'void vscreen_suspend()': > vscreen.cc:973: error: 'struct sigaction' has no member named 'sa_restorer' > make[5]: *** [vscreen.o] Error 1 > make[5]: Leaving directory `/build/buildd/aptitude-0.4.0/src/vscreen' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/build/buildd/aptitude-0.4.0/src/vscreen' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/build/buildd/aptitude-0.4.0/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/build/buildd/aptitude-0.4.0' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/build/buildd/aptitude-0.4.0' > make: *** [build-stamp] Error 2 A full build log can be found at: http://buildd.debian.org/build.php?arch=ia64&pkg=aptitude&ver=0.4.0-1 This patch fixes the problem: ======================================================================== diff -ur t/aptitude-0.4.0/src/pkg_ver_item.cc aptitude-0.4.0/src/pkg_ver_item.cc --- t/aptitude-0.4.0/src/pkg_ver_item.cc 2005-10-23 23:51:32.000000000 -0600 +++ aptitude-0.4.0/src/pkg_ver_item.cc 2005-11-04 12:52:32.000000000 -0700 @@ -736,11 +736,10 @@ struct sigaction oldact; struct sigaction act; + + memset(&act,0,sizeof(act)); act.sa_handler = SIG_DFL; - act.sa_sigaction = 0; sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_restorer = 0; sigaction(SIGCONT, &act, &oldact); diff -ur t/aptitude-0.4.0/src/vscreen/vscreen.cc aptitude-0.4.0/src/vscreen/vscreen.cc --- t/aptitude-0.4.0/src/vscreen/vscreen.cc 2005-10-23 23:03:28.000000000 -0600 +++ aptitude-0.4.0/src/vscreen/vscreen.cc 2005-11-04 12:53:17.000000000 -0700 @@ -966,11 +966,10 @@ suspended_with_signals = true; struct sigaction act; + + memset(&act,0,sizeof(act)); act.sa_handler = SIG_IGN; - act.sa_sigaction = 0; sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_restorer = 0; sigaction(SIGCONT, &act, &oldsigcont); sigaction(SIGTSTP, &act, &oldsigtstp); ======================================================================== -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]