Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36545 - Kdevelop 2.1.5 need a patch to build with gcc 3.3.2.
Summary: Kdevelop 2.1.5 need a patch to build with gcc 3.3.2.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 32912 (view as bug list)
Depends on:
Blocks: 36546
  Show dependency tree
 
Reported: 2003-12-26 11:58 UTC by Mikael Rosbacke
Modified: 2004-03-01 07:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
I've added the previous patch as a file. (patch.txt,389 bytes, patch)
2003-12-29 07:34 UTC, Mikael Rosbacke
Details | Diff
New patch. (patch.txt,394 bytes, patch)
2003-12-29 07:41 UTC, Mikael Rosbacke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Rosbacke 2003-12-26 11:58:24 UTC
There is a source code error in kdevelop 2.1.5 which will result in a failed build when using gcc 3.3.2. The following patch should fix the problem.

--- kdevelop/doctreeview.cpp.orig       2003-12-26 16:24:23.251630944 +0100
+++ kdevelop/doctreeview.cpp    2003-12-26 16:25:13.587978656 +0100
@@ -826,7 +826,7 @@
     void changePathes();
     virtual void refresh();
     #if KDE_QTVER >= 3
-    void DocTreeKDELibsFolder::appendBooks(QDir dir);
+    void appendBooks(QDir dir);
     #endif
 };

I've personally applied the patch at the top of the exisiting kdevelop-2.1.5-gentoo.diff file and it works for me.

--- Mikael R


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.49-r15 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 
2.6.0-gentoo) 
================================================================= 
System uname: 2.6.0-gentoo x86_64 4 
Gentoo Base System version 1.4.3.12 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O3" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ 
ftp://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 oss 3dnow apm avi crypt encode foomaticdb gif gpm gtk2 jpeg gnome 
libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime sdl slang spell sse 
truetype xml2 xmms xv zlib alsa gdbm berkdb readline arts tetex X tcpd pam 
libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl acpi cdr 
cups dvd dvdr emacs freetype multilib ppds radeon samba usb --cups --java 
--qt"
Comment 1 Mikael Rosbacke 2003-12-29 07:34:21 UTC
Created attachment 22791 [details, diff]
I've added the previous patch as a file.

Just the previous patch in a more managable format.
Comment 2 Mikael Rosbacke 2003-12-29 07:41:49 UTC
Created attachment 22794 [details, diff]
New patch.

Slipped a return type in the previous patch. This is the correct one.
Comment 3 Mikael Rosbacke 2004-01-16 15:43:44 UTC
This bug has been reported to the kdevelop bug database as:
http://bugs.kde.org/show_bug.cgi?id=72785
Comment 4 Mikael Rosbacke 2004-01-19 11:45:14 UTC
Seems like the developers of kdevelop have abandoned kdevelop 2.1.5. The bug has been declared 'invalid' in kdevelop bug database due to kdevelop 2.1.5 is not supported any more. See http://bugs.kde.org/show_bug.cgi?id=72785
Seems like this needs to be applied by the ebuild if we wish to have kdevelop 2.1.5 on amd64.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-02-29 15:59:14 UTC
*** Bug 32912 has been marked as a duplicate of this bug. ***
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-02-29 16:03:14 UTC
this patch has been added to the ebuild in portage.
Comment 7 Mikael Rosbacke 2004-03-01 07:18:09 UTC
I have just emerged this under x86. It seems to work.