[Buildroot] [PATCH] SCREEN: Added support for GNU Screen

Michel (BusError) buildroot.atmel.com at pollet.net
Wed Apr 9 10:26:44 UTC 2008


On Wednesday 09 April 2008, Nigel Kukard wrote:
> > > > --- /dev/null
> > > > +++ b/package/screen/screen-4.0.2-100-cross-compile.patch
> > > > @@ -0,0 +1,967 @@
> > > > +diff -c screen.orig/configure screen-4.0.2/configure
> > > > +*** screen.orig/configure	2003-12-05 13:46:53.000000000 +0000
> > > > +--- screen-4.0.2/configure	2008-04-05 18:48:27.000000000 +0100
> > >
> > > <snip>
> > >
> > > Can we not modify configure.ac/in and autoreconf?  (assuming configure
> > > is originally built from configure.in or configure.ac)
> > >
> > > -N
> >
> > You can't. I spent a lot of time trying. This configure relies /a lot/ on
> > testing the hosts libraries, and all of these test fail with these
> > exit(1). Unless you know of a magic auto*.* setting that skips the 'cross
> > compile' tests and/or errors, this is the only way I found to have it
> > working...
>
> I really don't like adding a 40k patch, which will more than likely
> break on each version bump. :)
>
> Could you show me how to reproduce the errors when cross-compiling,
> maybe send me your .config and I'll see what I can do?
>
> -N

Hi Nigel;

I think the easiest way is to apply the patch on a 'temp' tree, remove the 
package/screen/*.patch file, 'make oldconfig' in buildroot, select 
the 'screen' package, then 'make'. You will immediately see the dreaded 
configure problems...

'screen' is very rarely updated tho, it's not a fast moving trendy package, 
just a one that's indispensable once you grok it's power :-)

Michel




More information about the buildroot mailing list