From a3da6e34c0f40ab1171d9331bbb920dffa8e8e10 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 29 Sep 2014 15:06:32 +0000 Subject: [PATCH] readline: updated to 6.3.6 --- readline/.footprint | 20 ++++-- readline/.md5sum | 5 +- readline/Pkgfile | 7 +- readline/readline-6.2.4.patch.gz | Bin 2261 -> 0 bytes readline/readline-6.3.6-wcwidth.patch | 97 ++++++++++++++++++++++++++ readline/readline-6.3.6.patch.gz | Bin 0 -> 2572 bytes 6 files changed, 119 insertions(+), 10 deletions(-) delete mode 100644 readline/readline-6.2.4.patch.gz create mode 100644 readline/readline-6.3.6-wcwidth.patch create mode 100644 readline/readline-6.3.6.patch.gz diff --git a/readline/.footprint b/readline/.footprint index 2b07fbd..ff3f015 100644 --- a/readline/.footprint +++ b/readline/.footprint @@ -1,10 +1,10 @@ drwxr-xr-x root/root etc/ -rw-r--r-- root/root etc/inputrc drwxr-xr-x root/root lib/ -lrwxrwxrwx root/root lib/libhistory.so.6 -> libhistory.so.6.2 --r-xr-xr-x root/root lib/libhistory.so.6.2 -lrwxrwxrwx root/root lib/libreadline.so.6 -> libreadline.so.6.2 --r-xr-xr-x root/root lib/libreadline.so.6.2 +lrwxrwxrwx root/root lib/libhistory.so.6 -> libhistory.so.6.3 +-r-xr-xr-x root/root lib/libhistory.so.6.3 +lrwxrwxrwx root/root lib/libreadline.so.6 -> libreadline.so.6.3 +-r-xr-xr-x root/root lib/libreadline.so.6.3 drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ drwxr-xr-x root/root usr/include/ @@ -19,19 +19,27 @@ drwxr-xr-x root/root usr/include/readline/ -rw-r--r-- root/root usr/include/readline/tilde.h drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libhistory.a -lrwxrwxrwx root/root usr/lib/libhistory.so -> ../../lib/libhistory.so.6.2 +lrwxrwxrwx root/root usr/lib/libhistory.so -> ../../lib/libhistory.so.6.3 -rw-r--r-- root/root usr/lib/libreadline.a -lrwxrwxrwx root/root usr/lib/libreadline.so -> ../../lib/libreadline.so.6.2 +lrwxrwxrwx root/root usr/lib/libreadline.so -> ../../lib/libreadline.so.6.3 drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man3/ -rw-r--r-- root/root usr/man/man3/history.3.gz -rw-r--r-- root/root usr/man/man3/readline.3.gz drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/doc/ +drwxr-xr-x root/root usr/share/doc/readline/ +-rw-r--r-- root/root usr/share/doc/readline/CHANGES +-rw-r--r-- root/root usr/share/doc/readline/INSTALL +-rw-r--r-- root/root usr/share/doc/readline/README drwxr-xr-x root/root usr/share/readline/ -rw-r--r-- root/root usr/share/readline/excallback.c -rw-r--r-- root/root usr/share/readline/fileman.c +-rw-r--r-- root/root usr/share/readline/hist_erasedups.c +-rw-r--r-- root/root usr/share/readline/hist_purgecmd.c -rw-r--r-- root/root usr/share/readline/histexamp.c -rw-r--r-- root/root usr/share/readline/manexamp.c +-rw-r--r-- root/root usr/share/readline/rl-callbacktest.c -rw-r--r-- root/root usr/share/readline/rl-fgets.c -rw-r--r-- root/root usr/share/readline/rl.c -rw-r--r-- root/root usr/share/readline/rlcat.c diff --git a/readline/.md5sum b/readline/.md5sum index de57e79..0733426 100644 --- a/readline/.md5sum +++ b/readline/.md5sum @@ -1,3 +1,4 @@ 553cf04fdeec54dca12062864c3ffba3 inputrc -9ff8505cf10d93f723f35d3bcbbc3dbb readline-6.2.4.patch.gz -67948acb2ca081f23359d0256e9a271c readline-6.2.tar.gz +b1efd651024094fa2f0f3a34d2d0f0b7 readline-6.3.6-wcwidth.patch +44b8c334f34790e920a807a126996882 readline-6.3.6.patch.gz +33c8fb279e981274f485fd91da77e94a readline-6.3.tar.gz diff --git a/readline/Pkgfile b/readline/Pkgfile index fe1e308..e5e0e00 100644 --- a/readline/Pkgfile +++ b/readline/Pkgfile @@ -5,10 +5,10 @@ # Depends on: ncurses name=readline -version=6.2.4 +version=6.3.6 release=1 source=(http://ftp.gnu.org/gnu/$name/$name-${version::3}.tar.gz \ - $name-$version.patch.gz inputrc) + $name-$version.patch.gz inputrc $name-$version-wcwidth.patch) build() { cd $name-${version::3} @@ -18,6 +18,9 @@ build() { # Don't use rpath for linking the shared libs sed -i '117s/-Wl,-rpath,$(libdir)//' support/shobj-conf + # Patch to avoid wcwidth tests + patch -i $SRC/$name-$version-wcwidth.patch + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ diff --git a/readline/readline-6.2.4.patch.gz b/readline/readline-6.2.4.patch.gz deleted file mode 100644 index a4c31cc39af0c77fae7cd34b4a55edf2c28a7dfe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2261 zcmV;`2rBms*5J~aq>Iw zhq+u10M6RYz0Tor8%~?&tpj{KJvlp0IRuH2iNxt4E7SMa_JpX^`&TQ0SuNyyxt!O&)Y*$Icg zW_S8DqJcv>)!bIIdEB`=XTx{BPc^%xw+$BbFHWmhW8>4Q!}MhP=A%>WknZ&0k7#d4 zkb02dhqI2E^O9s_Rw_P=lejzx#^o>?RP4y{*o0QRWaw9Vc&TT{UPV<1krlNvj0eb) zQ7iN9l(Rh=I}sZtEDTIZI``Q*Mq;^50p4w+YEzPMbt!AgQ+id;bEeQ5*!QqqqJ;6wOkgb3d;`*&jb9JW*xMg zp6y)CRI60+9}v|fb~l4N8{wG5o>SgfEoi^l`@?p^bSM79Whe`$TJz zmcB2ybiF0(N{z_7`|Ukh-`%b5;og2j-G7|SJle+pJKWCr$wF>D4Y~MvTF8x29q1E2 z>qT}n1&{h8PC3s@lD)E8Wki zmq=Be1y&wIU{A1ELG}grYZ=d<>y0lP|H=4QHVWK?y9Xz`?}cN0=x%4QsGII|4tMYG z2oJBRB~q)-Jp9S;{Hzf5%b$GjO5W?W5^0bH-g6GR68!S!s~2L}4&!gXV0=L^xeQJ1 zjtDXwoxS}|^Idm)eVx>+c|{6OZWZG{0^%w=U9N0lD3&DSnLWd2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readline/readline-6.3.6-wcwidth.patch new file mode 100644 index 0000000..6570b33 --- /dev/null +++ b/readline/readline-6.3.6-wcwidth.patch @@ -0,0 +1,97 @@ +diff -ur original/readline-6.3/configure build/readline-6.3/configure +--- original/readline-6.3/configure 2013-03-13 23:14:53.000000000 +0900 ++++ build/readline-6.3/configure 2014-04-28 22:52:45.510169436 +0900 +@@ -6316,49 +6316,49 @@ + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcwidth broken with unicode combining characters" >&5 +-$as_echo_n "checking for wcwidth broken with unicode combining characters... " >&6; } +-if ${bash_cv_wcwidth_broken+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run test program while cross compiling +-See \`config.log' for more details" "$LINENO" 5; } +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-#include +-#include +-#include +- +-#include +-#include +- +-main(c, v) +-int c; +-char **v; +-{ +- int w; +- +- setlocale(LC_ALL, "en_US.UTF-8"); +- w = wcwidth (0x0301); +- exit (w == 0); /* exit 0 if wcwidth broken */ +-} +- +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- bash_cv_wcwidth_broken=yes +-else +- bash_cv_wcwdith_broken=no +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext +-fi +- +-fi ++#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcwidth broken with unicode combining characters" >&5 ++#$as_echo_n "checking for wcwidth broken with unicode combining characters... " >&6; } ++#if ${bash_cv_wcwidth_broken+:} false; then : ++# $as_echo_n "(cached) " >&6 ++#else ++# if test "$cross_compiling" = yes; then : ++# { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++#$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++#as_fn_error $? "cannot run test program while cross compiling ++#See \`config.log' for more details" "$LINENO" 5; } ++#else ++# cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++#/* end confdefs.h. */ ++# ++##include ++##include ++##include ++# ++##include ++##include ++# ++#main(c, v) ++#int c; ++#char **v; ++#{ ++# int w; ++# ++# setlocale(LC_ALL, "en_US.UTF-8"); ++# w = wcwidth (0x0301); ++# exit (w == 0); /* exit 0 if wcwidth broken */ ++#} ++# ++#_ACEOF ++#if ac_fn_c_try_run "$LINENO"; then : ++# bash_cv_wcwidth_broken=yes ++#else ++# bash_cv_wcwdith_broken=no ++#fi ++#rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++# conftest.$ac_objext conftest.beam conftest.$ac_ext ++#fi ++bash_cv_wcwdith_broken=no ++#fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bash_cv_wcwidth_broken" >&5 + $as_echo "$bash_cv_wcwidth_broken" >&6; } + if test "$bash_cv_wcwidth_broken" = yes; then + diff --git a/readline/readline-6.3.6.patch.gz b/readline/readline-6.3.6.patch.gz new file mode 100644 index 0000000000000000000000000000000000000000..bbbf63977acc94508e8c52611be7c733f9b6dfb9 GIT binary patch literal 2572 zcmV+n3iI_JiwFohYIsus19D|yWNc|}Wi2)?GcGnRaA9;~XaLn&X;a%s6aH-filI`K z*kH-Jd|*fl1BM&~60VT_@G4_zWGm=e%?RV{=D%a1&ngmBW=~JexSk` zD{pptBrV36no(>I>q;VMrsF_+Xq*!q{cRp-~hIl0|Mz!YmNJa>=H%iJT1C$d4jF8j*=F#?>#* ziw61P!XH%gW%`2DW;&A~1WOeZ+ zS6y$n8td(KA|F6H5Z@!UG_aZL3)r(QJ@oP=I4ghq{5i2<7(5ixq#U?nA&bQ9>GS7O z6TZ-sD=$g^@bl5>>%sB6!Dk#@DMoWeHfMik7(F{+(FmLaT6LIKX|9rsiwm;aEY;!C zu%K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