Ticket #1931: build-framework-R.sh.patch

File build-framework-R.sh.patch, 1019 bytes (added by judah, 6 years ago)

A diff against the old version of the script.

Line 
14,7c4,9
2< # from the sources available from the GMP web page at
3< # http://www.swox.com/gmp/
4< # To build your own, copy this file next to a GMP source tree,
5< # update the SrcDir variable if necessary and execute
6---
7> # from the sources available from the bash site at
8> # ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz
9> # To build your own, copy this script and the above gzip file
10> # into an empty directory, and run the following commands:
11> #
12> # tar -xzf readline-5.2.tar.gz
1337c39,47
14< cp -R $SrcDir/StagingArea/include $FWVDir/Headers
15---
16> # Copy the header files into our new framework.
17> # Change declarations of #include <readline/*.h> to <GNUreadline/readline/*.h>, so that they reference the
18> # header files inside of this framework.
19> OLDINCLUDEDIR=$SrcDir/StagingArea/include/readline
20> NEWINCLUDEDIR=$FWVDir/Headers/readline
21> mkdir -p $NEWINCLUDEDIR
22> for i in `ls $OLDINCLUDEDIR`; do
23>     sed 's/include <readline/include <GNUreadline\/readline/' $OLDINCLUDEDIR/$i > $NEWINCLUDEDIR/$i
24> done