This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: broken ncurses patch found in http://sources.redhat.com/ml/crossgcc/2003-09/msg00009.html


Hi Dan;

  I looked (I think I looked real carefully) at 
http://sources.redhat.com/ml/crossgcc/2003-09/msg00009.html
and I copied out run_tic.sh and run_tic.patch from it.  The problem is that 
the patch is incomplete (else clause has no contents).  I updated the script 
to contain the most current patches on the ncurses ftp site.  The updated 
script, patch and the contents of 
http://sources.redhat.com/ml/crossgcc/2003-09/msg00009.html are attached.  

Please advise.

Thanks,
Ken

On Wednesday 29 October 2003 15:01, Dan Kegel wrote:
> hrm.  the only ash I build is the one in busybox, and you don't
> need busybox at all; perhaps you need to comment out more things
> in ptx.config.  Or run 'make menuconfig' in the ptxdist build directory
> and disable everything but ncurses.
>
> Really, this is a bit rediculous; you might consider just
> cross-building ncurses manually instead of with ptxdist,
> given your troubles.  Here's how I did it:
>   http://sources.redhat.com/ml/crossgcc/2003-09/msg00009.html
> - Dan

--- ncurses-5.3/misc/run_tic.in.old     Thu Aug 28 20:20:43 2003
+++ ncurses-5.3/misc/run_tic.in Thu Aug 28 20:22:37 2003
@@ -66,4 +67,8 @@
 *) PATH=../progs:../lib:${DESTDIR}$bindir:$PATH ;;
 esac
 export PATH
+SHLIB=$srcdir/shlib
+else
+# Cross-compiling, so don't set PATH or run shlib.
+SHLIB=
 fi

 #
@@ -111,1 +116,1 @@
        problems for older ncurses applications.

 EOF
-if ( $srcdir/shlib tic$suffix -s -o $TERMINFO $source )
+if ( $SHLIB tic$suffix -s -o $TERMINFO $source )
 then
        echo '** built new '$TERMINFO
 else

Attachment: run_tic.sh
Description: application/shellscript

Attachment: run_tic.email
Description: Text document

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]