Date: Thursday, March 27, 2014 @ 02:07:00 Author: seblu Revision: 108349
fix FS#39278 Added: bird/trunk/fix_readline36.path Modified: bird/trunk/PKGBUILD ---------------------+ PKGBUILD | 10 ++++++++-- fix_readline36.path | 12 ++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-03-27 01:06:05 UTC (rev 108348) +++ PKGBUILD 2014-03-27 01:07:00 UTC (rev 108349) @@ -11,11 +11,17 @@ depends=('readline' 'ncurses') source=("ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz" 'bird.service' - 'bird6.service') + 'bird6.service' + 'fix_readline36.path') md5sums=('4e5a47308335b1b0bf4691cac6c4174f' '69221e063a3f07dcad519d5eeacaae75' - '5b172bd052b523efd95ee018e891e181') + '5b172bd052b523efd95ee018e891e181' + '57d11d57eebbc091249dd6344ab38097') +prepare() { + patch -p1 -d $pkgbase-$pkgver < fix_readline36.path +} + build() { cd $pkgbase-$pkgver [[ -e _build4 ]] && rm -rf _build4 Added: fix_readline36.path =================================================================== --- fix_readline36.path (rev 0) +++ fix_readline36.path 2014-03-27 01:07:00 UTC (rev 108349) @@ -0,0 +1,12 @@ +diff -rupN a/client/birdc.c b/client/birdc.c +--- a/client/birdc.c 2013-11-23 13:29:53.000000000 +0100 ++++ b/client/birdc.c 2014-03-22 13:09:40.278580657 +0100 +@@ -29,7 +29,7 @@ static int prompt_active; + /* HACK: libreadline internals we need to access */ + extern int _rl_vis_botlin; + extern void _rl_move_vert(int); +-extern Function *rl_last_func; ++extern rl_command_func_t *rl_last_func; + + static void + add_history_dedup(char *cmd)