diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-08 03:36:18 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-08 03:36:18 +0000 |
commit | e3d67b3b2c7235fa6db9787b951bbdfcf568d8bc (patch) | |
tree | e19b439a4c0d63b14de6dfe298cb574ab44a0c87 /community/quagga | |
parent | 6b55be9272c15e1858a1a7236482298f677c1a3b (diff) |
Sun Jun 8 03:32:09 UTC 2014
Diffstat (limited to 'community/quagga')
-rw-r--r-- | community/quagga/PKGBUILD | 12 | ||||
-rw-r--r-- | community/quagga/fix_readline36.patch | 14 |
2 files changed, 21 insertions, 5 deletions
diff --git a/community/quagga/PKGBUILD b/community/quagga/PKGBUILD index e887e56ce..f767c18a9 100644 --- a/community/quagga/PKGBUILD +++ b/community/quagga/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 99121 2013-10-24 20:42:11Z seblu $ +# $Id: PKGBUILD 112784 2014-06-07 10:56:52Z seblu $ # Maintainer: Sébastien Luttringer pkgname=quagga pkgver=0.99.22.4 -pkgrel=3 +pkgrel=4 pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite' arch=('i686' 'x86_64') url='http://www.quagga.net' license=('GPL2') -depends=('libcap' 'libnl' 'net-snmp' 'readline' 'ncurses') +depends=('libcap' 'libnl' 'net-snmp' 'readline' 'ncurses' 'perl') options=('!buildflags') install=quagga.install source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" @@ -19,7 +19,8 @@ source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar 'ospfd.service' 'ripd.service' 'ripngd.service' - 'zebra.service') + 'zebra.service' + 'fix_readline36.patch') md5sums=('27ef98abb1820bae19eb71f631a10853' '20a8e36ad851d4e06467aeb56a84b245' 'cc90c234aac9098c5132d653037d5269' @@ -28,7 +29,8 @@ md5sums=('27ef98abb1820bae19eb71f631a10853' '260f5fcf9b53ef201a8fb34e7ea90457' 'b6e3549d780355914ae8edd43e15630a' '72dd63c49fdaea41729a4318d0fbac79' - '577f1e7caeea31d910f2dc29c28ada7d') + '577f1e7caeea31d910f2dc29c28ada7d' + 'f4162b77d4995c6d080ac34d9fd17c36') prepare() { cd $pkgname-$pkgver diff --git a/community/quagga/fix_readline36.patch b/community/quagga/fix_readline36.patch new file mode 100644 index 000000000..710fdf3d0 --- /dev/null +++ b/community/quagga/fix_readline36.patch @@ -0,0 +1,14 @@ +--- a/vtysh/vtysh.c ++++ b/vtysh/vtysh.c +@@ -2211,9 +2211,9 @@ + vtysh_readline_init (void) + { + /* readline related settings. */ +- rl_bind_key ('?', (Function *) vtysh_rl_describe); ++ rl_bind_key ('?', (rl_command_func_t *) vtysh_rl_describe); + rl_completion_entry_function = vtysh_completion_entry_function; +- rl_attempted_completion_function = (CPPFunction *)new_completion; ++ rl_attempted_completion_function = (rl_completion_func_t *) new_completion; + /* do not append space after completion. It will be appended + * in new_completion() function explicitly. */ + rl_completion_append_character = '\0'; |