Package: kyahoo Version: 0.7.0-5.2 Severity: important Patch appended to fix compilation with g++-3.0.
| Automatic build of kyahoo_0.7.0-5.2 on sarti by sbuild/hppa 1.159 | Build started at 20011121-1153 | ****************************************************************************** [...] | ** Using build dependencies supplied by package: | Build-Depends: debhelper (>> 3.0.0), autoconf, automake, libtool, gettext, kdelibs-dev (>= 4:2.2.1-1) [...] | g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/include/qt -I. -I./libyahoo -g -Wall -c main.cpp | In file included from main.cpp:54: | buddylist.h:168: ISO C++ forbids declaration of `ostream' with no type [...] A complete build log can be found at http://buildd.debian.org/build.php?arch=hppa&pkg=kyahoo&ver=0.7.0-5.2 -- James diff -ur kyahoo-0.7.0.old/kyahoo/buddylist.h kyahoo-0.7.0/kyahoo/buddylist.h --- kyahoo-0.7.0.old/kyahoo/buddylist.h Sat May 5 01:51:46 2001 +++ kyahoo-0.7.0/kyahoo/buddylist.h Wed Nov 21 14:07:43 2001 @@ -165,15 +165,15 @@ /** Used for debugging, sends formatted output to stdout */ - friend ostream& operator<< ( ostream& os, BuddyStatus& bs ) + friend std::ostream& operator<< ( std::ostream& os, BuddyStatus& bs ) { - os << "-----------------" << endl - << "id = " << bs.id << endl - << "status = " << bs.status << endl - << "in_chat = " << bs.in_chat << endl - << "in_pager = " << bs.in_pager << endl - << "msg = " << bs.msg << endl - << "-----------------" << endl; + os << "-----------------" << std::endl + << "id = " << bs.id << std::endl + << "status = " << bs.status << std::endl + << "in_chat = " << bs.in_chat << std::endl + << "in_pager = " << bs.in_pager << std::endl + << "msg = " << bs.msg << std::endl + << "-----------------" << std::endl; return os; } @@ -276,15 +276,15 @@ } // remove_user() - friend ostream& operator<< ( ostream& os, ConferenceStatus& cs ) + friend std::ostream& operator<< ( std::ostream& os, ConferenceStatus& cs ) { - os << "-----------------" << endl - << "id = " << cs.id << endl - << "host = " << cs.host << endl - << "type = " << cs.type << endl - << "userlist = " << cs.userlist << endl - << "windowptr = " << cs.windowptr << endl - << "-----------------" << endl; + os << "-----------------" << std::endl + << "id = " << cs.id << std::endl + << "host = " << cs.host << std::endl + << "type = " << cs.type << std::endl + << "userlist = " << cs.userlist << std::endl + << "windowptr = " << cs.windowptr << std::endl + << "-----------------" << std::endl; return os; }