Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279306 - lrzsz-0.12.20-r3 fixes for IRIX
Summary: lrzsz-0.12.20-r3 fixes for IRIX
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 10:54 UTC by Stuart Shelton
Modified: 2011-12-15 18:14 UTC (History)
0 users

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


Attachments
lrzsz-0.12.20-irix.patch (lrzsz-0.12.20-irix.patch,1.26 KB, patch)
2009-07-27 10:59 UTC, Stuart Shelton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-07-27 10:54:15 UTC
lrzsz is a minicom dependancy.  The ebuild changes required are:

--- lrzsz-0.12.20-r3.ebuild
+++ lrzsz-0.12.20-r3.ebuild
@@ -21,6 +21,7 @@ RDEPEND="${DEPEND}"
 src_prepare() {
        epatch "${FILESDIR}"/${PN}-autotools.patch
        epatch "${FILESDIR}"/${PN}-implicit-decl.patch
+       epatch "${FILESDIR}"/${PN}-0.12.20-irix.patch
 
        # automake is unhappy if this is missing
        >> config.rpath
@@ -34,7 +35,11 @@ src_prepare() {
 
 src_configure() {
        tc-export CC
-       append-flags -Wstrict-prototypes
+       if [ ${CHOST} != *-irix* ]; then
+               append-flags -Wstrict-prototypes
+       else
+               export ac_cv_c_inline=no
+       fi
        econf $(use_enable nls) || die "econf failed"
 }
 
@@ -46,7 +51,7 @@ src_test() {
 
 src_install() {
        emake \
-               DESTDIR="${ED}" \
+               DESTDIR="${D}" \
                install || die "make install failed"
 
        local x
Comment 1 Stuart Shelton 2009-07-27 10:59:14 UTC
Created attachment 199324 [details, diff]
lrzsz-0.12.20-irix.patch

lrzsz-0.12.20 patch to allow building on IRIX
Comment 2 Fabian Groffen gentoo-dev 2009-07-31 15:57:31 UTC
hmmm, would it be possible to keep the inline to use some define or something?

#ifdef __sgi
#define inline
#endif
Comment 3 Fabian Groffen gentoo-dev 2011-12-15 18:14:08 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.