Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126897

Summary: Quick fix for some minor changes of mutella-0.4.5 file gnushare.h to work with Gcc 4
Product: Gentoo Linux Reporter: Matthew Blomquist <shevron>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: shevron
Priority: Normal Keywords: Inclusion
Version: 2006.0   
Hardware: x86   
OS: Linux   
URL: http://web01.slackhost.net/~admin74/patches/mutella-0.4.5-gcc41-1.patch
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: This is the Diff file renamed, from my overlay directory.
This is the Ebuild from my overlay in /usr/local/portage/net-p2p/mutella

Description Matthew Blomquist 2006-03-19 21:48:31 UTC
emerge mutella - with >=gcc-4.0.1 results in a error with out the above url's patch. I discovered this on the SF mutella site forums, while looking for Documentation on the subject. The change to mutella-0.4.5.ebuild was simple also, I meerly had to add the following lines. 

+inherit eutils
+src_unpack() {
+  unpack ${A}
+  epatch ${FILESDIR}/mutella-gcc4-fix
+}

note I renamed the diff to something similar to what other patches look like among other ebuilds. This patch may or may not break the compilation with earlier versions of gcc.

ty, Matt B
Comment 1 Matthew Blomquist 2006-03-19 21:50:37 UTC
Created attachment 82639 [details, diff]
This is the Diff file renamed, from my overlay directory.

next I'll offer the ebuild.
Comment 2 Matthew Blomquist 2006-03-19 21:53:15 UTC
Created attachment 82640 [details]
This is the Ebuild from my overlay in /usr/local/portage/net-p2p/mutella

Here's the Ebuild I use. This is all I have on the subject, mutella works.
Comment 3 Matthew Blomquist 2006-03-19 21:59:41 UTC
As I said, this worked. Its a fairly simple change.
<rant> I'm greatful Gentoo has such a simple method of package creation and management. Although I like python, It would be nice to change to a binary package for portage or use shell scripts. That's just an opinion. Would reduce the most minimal install down by a huge package. </rant>