Date: Wed, 4 Aug 2004 12:07:25 +0200 From: "Christian Hiris" <4711@chello.at> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/69990: [patch] editors/koffice-kde3 - build target fails with gcc 3.4.2 on CURRENT Message-ID: <1091614045.0@matrix010.matrix.net> Resent-Message-ID: <200408041010.i74AAOTa045848@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69990 >Category: ports >Synopsis: [patch] editors/koffice-kde3 - build target fails with gcc 3.4.2 on CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 04 10:10:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Christian Hiris >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.2-CURRENT #0: Tue Aug 3 01:29:05 CEST 2004 admin@matrix010.matrix.net:/usr/obj/usr/src/sys/MATRIX010 >Description: /usr/X11R6/bin/moc ./vcanvas.h -o vcanvas.moc if /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficeui -I../../lib/kofficeui -I../../lib/kofficecore -I../../lib/kofficecore -I../../lib/store -I../../lib/store -I../../lib/kwmf -I../../lib/kwmf -I../../lib/kopainter -I../../lib/kopainter -I./.. -I./../core -I./../commands -I./../render -I./../dialogs -I./../dockers -I./../tools -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT vcanvas.lo -MD -MP -MF ".deps/vcanvas.Tpo" \ -c -o vcanvas.lo `test -f 'vcanvas.cc' || echo './'`vcanvas.cc; \ then mv -f ".deps/vcanvas.Tpo" ".deps/vcanvas.Plo"; \ else rm -f ".deps/vcanvas.Tpo"; exit 1; \ fi vcanvas.cc: In member function `void VCanvas::setViewportRect(const KoRect&)': vcanvas.cc:246: warning: converting to `int' from `double' vcanvas.cc:248: warning: converting to `int' from `double' vcanvas.cc: In member function `void VCanvas::repaintAll(const KoRect&)': vcanvas.cc:314: error: no match for call to `(KoRect) ()' vcanvas.cc:314: error: no match for call to `(KoRect) ()' vcanvas.cc:314: error: no match for call to `(KoRect) ()' vcanvas.cc:314: error: no match for call to `(KoRect) ()' gmake[3]: *** [vcanvas.lo] Error 1 gmake[3]: Leaving directory `/usr/wrkdir/usr/ports/editors/koffice-kde3/work/koffice-1.3.1/karbon/widgets' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/wrkdir/usr/ports/editors/koffice-kde3/work/koffice-1.3.1/karbon' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/wrkdir/usr/ports/editors/koffice-kde3/work/koffice-1.3.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/editors/koffice-kde3. # gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 >How-To-Repeat: cd /usr/ports/editors/koffice-kde3 make >Fix: Already fixed in KOFFICE_1_3_BRANCH: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/koffice/karbon/widgets/vcanvas.cc.diff?r1=1.17.2.1&r2=1.17.2.2&only_with_tag=KOFFICE_1_3_BRANCH&f=h --- patch-karbon-widgets-vcanvas.cc begins here --- --- karbon/widgets/vcanvas.cc.orig Mon Apr 12 11:18:46 2004 +++ karbon/widgets/vcanvas.cc Wed Aug 4 09:48:15 2004 @@ -311,7 +311,7 @@ //if( m_view->layersDocker() ) // m_view->layersDocker()->updatePreviews(); VPainter *p = m_view->painterFactory()->painter(); - KoRect rect( rect().x(), rect().y(), rect().width(), rect().height() ); + KoRect rect = KoRect::fromQRect( this->rect() ); p->blit( rect ); // draw handle: --- patch-karbon-widgets-vcanvas.cc ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1091614045.0>