Summary: | media-video/mmsv2-1.0.8.3 (Version Bump) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Laurento Frittella (mrfree) <laurento.frittella> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | bugzilla, lasse, matthiasbernges |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
media-video/mmsv2-1.0.8.ebuild
Compile on nocona cpu on amd64 systems |
Description
Laurento Frittella (mrfree)
2006-11-20 07:13:54 UTC
Created attachment 102403 [details]
media-video/mmsv2-1.0.8.ebuild
*** This bug has been marked as a duplicate of 155766 *** This is the *correct* bug report, #155766 is a mistake *** Bug 155766 has been marked as a duplicate of this bug. *** MMSv2 doesn't compile on Core 2 Duo (nocona) with Gentoo amd64, because it appends "-march=pentium3" for this and gives an error, that this is not an 64bit cpu. The attached core2configure.patch works for me with these changes to the ebuild: *** configure 2007-01-10 00:47:05.000000000 +0100 --- configure.new 2007-01-10 00:46:54.000000000 +0100 *************** cpu_detect() { *** 280,285 **** --- 280,287 ---- proc=i686 elif test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then proc=pentium-m + elif test "$pmodel" -eq 15; then + proc=nocona elif test "$pmodel" -ge 7; then proc=pentium3 elif test "$pmodel" -ge 3; then *** /home/nieuwenh/Desktop/mmsv2-1.0.8.ebuild 2007-01-09 23:58:03.000000000 +0100 --- mmsv2-1.0.8.ebuild 2007-01-10 01:03:26.000000000 +0100 *************** pkg_postinst() { *** 84,86 **** --- 84,93 ---- einfo einfo "Documentation is available online: http://mms.sunsite.dk/doc/index.html" } + + src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/core2configure.patch + } Created attachment 106274 [details, diff]
Compile on nocona cpu on amd64 systems
Comment on attachment 106274 [details, diff]
Compile on nocona cpu on amd64 systems
I posted this patch also to the developers of mmsv2
*** Bug 166616 has been marked as a duplicate of this bug. *** *** Bug 174584 has been marked as a duplicate of this bug. *** Hmm, I'm puzzled :) Was this bug named 1.0.8.3 before? I can't see an ebuild for 1.0.8.3, which I just uploaded in bug #174584. Sorry for the duplicate though, if it was already named 1.0.8.3, but at least there is an ebuild now. I have already written the project maintainer about the build system. It is a very broken way of handling the CPU and arch stuff on, so I hope that he will change the way it works now. *** This bug has been marked as a duplicate of bug 190191 *** |