[arch-commits] Commit in quagga/trunk (PKGBUILD fix_readline36.patch)

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu Mar 27 01:11:16 UTC 2014


    Date: Thursday, March 27, 2014 @ 02:11:16
  Author: seblu
Revision: 108350

Fix FS#39495

Added:
  quagga/trunk/fix_readline36.patch
Modified:
  quagga/trunk/PKGBUILD

----------------------+
 PKGBUILD             |    6 ++++--
 fix_readline36.patch |   14 ++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-27 01:07:00 UTC (rev 108349)
+++ PKGBUILD	2014-03-27 01:11:16 UTC (rev 108350)
@@ -19,7 +19,8 @@
         'ospfd.service'
         'ripd.service'
         'ripngd.service'
-        'zebra.service')
+        'zebra.service'
+        'fix_readline36.patch')
 md5sums=('27ef98abb1820bae19eb71f631a10853'
          '20a8e36ad851d4e06467aeb56a84b245'
          'cc90c234aac9098c5132d653037d5269'
@@ -28,7 +29,8 @@
          '260f5fcf9b53ef201a8fb34e7ea90457'
          'b6e3549d780355914ae8edd43e15630a'
          '72dd63c49fdaea41729a4318d0fbac79'
-         '577f1e7caeea31d910f2dc29c28ada7d')
+         '577f1e7caeea31d910f2dc29c28ada7d'
+         'f4162b77d4995c6d080ac34d9fd17c36')
 
 prepare() {
   cd $pkgname-$pkgver

Added: fix_readline36.patch
===================================================================
--- fix_readline36.patch	                        (rev 0)
+++ fix_readline36.patch	2014-03-27 01:11:16 UTC (rev 108350)
@@ -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';




More information about the arch-commits mailing list