Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 56579 Details for
Bug 89530
PATCH: dev-libs/popt-1.7-r2 configure failure on mips + 2.6 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for configure failure on mips with 2.6 kernel
mips-linux-config.guess.diff (text/plain), 1.32 KB, created by
dvorak
on 2005-04-18 07:47:42 UTC
(
hide
)
Description:
patch for configure failure on mips with 2.6 kernel
Filename:
MIME Type:
Creator:
dvorak
Created:
2005-04-18 07:47:42 UTC
Size:
1.32 KB
patch
obsolete
>--- popt-1.7-r2/config.guess 2005-03-13 09:34:41 +0000 >+++ popt-1.7-r2/config.guess.new 2005-03-13 09:40:31 +0000 >@@ -776,10 +776,30 @@ > echo ${UNAME_MACHINE}-unknown-linux-gnu > exit 0 ;; > mips:Linux:*:*) >- case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in >- big) echo mips-unknown-linux-gnu && exit 0 ;; >- little) echo mipsel-unknown-linux-gnu && exit 0 ;; >- esac >+# doesn't work from 2.4.20 onwards, remove from cpuinfo >+# case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in >+# big) echo mips-unknown-linux-gnu && exit 0 ;; >+# little) echo mipsel-unknown-linux-gnu && exit 0 ;; >+# stolen from sudo patch by: martin schulze (joey@infodrom.org) >+# esac >+ >+ eval $set_cc_for_build >+ sed 's/^ //' << EOF > $dummy.c >+ #undef CPU >+ #undef mips >+ #undef mipsel >+ if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) >+ CPU=mipsel >+ #else >+ #if defined(_MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) >+ CPU=mips >+ #else >+ CPU= >+ #endif >+ #endif >+EOF >+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` >+ test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 > ;; > ppc:Linux:*:*) > echo powerpc-unknown-linux-gnu
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 89530
:
56577
|
56578
| 56579 |
56580