Hello community,

here is the log from the commit of package clisp for openSUSE:Factory checked 
in at 2016-10-28 10:47:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clisp (Old)
 and      /work/SRC/openSUSE:Factory/.clisp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clisp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clisp/clisp.changes      2015-08-17 
15:35:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.clisp.new/clisp.changes 2016-10-28 
10:47:27.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Oct 27 10:52:29 UTC 2016 - [email protected]
+
+- Add patch modules_readline_readline.lisp.patch to reflect the
+  API change in libreadline in rl_readline_state(3) (boo#1007196) 
+
+-------------------------------------------------------------------

New:
----
  modules_readline_readline.lisp.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clisp.spec ++++++
--- /var/tmp/diff_new_pack.HzGPzr/_old  2016-10-28 10:47:28.000000000 +0200
+++ /var/tmp/diff_new_pack.HzGPzr/_new  2016-10-28 10:47:28.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clisp
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -55,6 +55,8 @@
 # PATCH-EXTEND-UPSTREAM Make armv7l work
 Patch15:        clisp-arm.patch
 Patch16:        clisp-db6.diff
+#PATCH-FIX-UPSTREAM boo#1007196
+Patch17:        modules_readline_readline.lisp.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %global vimdir  %{_datadir}/vim/site/after/syntax
@@ -83,6 +85,7 @@
 # to BuildRequires
 #
 %define debug   no
+%global rlver   %(rpm -q --qf '%{VERSION}' readline-devel | sed 's/\\.//g')
 Requires(pre):  vim
 Requires(pre):  vim-data
 Requires:       ffcall
@@ -140,7 +143,10 @@
 %endif
 %patch14 -p0
 %patch15 -p0
-%patch -P 16 -p1
+%patch16 -p1
+%if 0%{rlver} >= 70
+%patch17 -p0
+%endif
 
 %build
 #

++++++ modules_readline_readline.lisp.patch ++++++
$NetBSD: patch-modules_readline_readline.lisp,v 1.1 2016/09/20 14:10:25 wiz Exp 
$

rl_readline_state changed from int to unsigned long in readline-7.0.

--- modules/readline/readline.lisp.orig 2010-01-06 22:18:03.000000000 +0000
+++ modules/readline/readline.lisp
@@ -424,7 +424,7 @@ name in ~/.inputrc. This is preferred wa
    "The version of this incarnation of the readline library, e.g., 0x0402."))
 (def-c-var gnu-readline-p (:name "rl_gnu_readline_p") (:type int)
   (:documentation "True if this is real GNU readline."))
-(def-c-var readline-state (:name "rl_readline_state") (:type int)
+(def-c-var readline-state (:name "rl_readline_state") (:type ulong)
   (:documentation "Flags word encapsulating the current readline state."))
 (def-c-var editing-mode (:name "rl_editing_mode") (:type int)
   (:documentation "Says which editing mode readline is currently using.

Reply via email to