bsc#1007196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=51
This commit is contained in:
parent
65421f05a4
commit
a5833b063e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 27 10:52:29 UTC 2016 - werner@suse.de
|
||||||
|
|
||||||
|
- Add patch modules_readline_readline.lisp.patch to reflect the
|
||||||
|
API change in libreadline in rl_readline_state(3) (boo#1007196)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 14 12:53:11 UTC 2015 - normand@linux.vnet.ibm.com
|
Fri Aug 14 12:53:11 UTC 2015 - normand@linux.vnet.ibm.com
|
||||||
|
|
||||||
|
10
clisp.spec
10
clisp.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package clisp
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -55,6 +55,8 @@ Patch14: clisp-hostname.patch
|
|||||||
# PATCH-EXTEND-UPSTREAM Make armv7l work
|
# PATCH-EXTEND-UPSTREAM Make armv7l work
|
||||||
Patch15: clisp-arm.patch
|
Patch15: clisp-arm.patch
|
||||||
Patch16: clisp-db6.diff
|
Patch16: clisp-db6.diff
|
||||||
|
#PATCH-FIX-UPSTREAM boo#1007196
|
||||||
|
Patch17: modules_readline_readline.lisp.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%global vimdir %{_datadir}/vim/site/after/syntax
|
%global vimdir %{_datadir}/vim/site/after/syntax
|
||||||
@ -83,6 +85,7 @@ BuildRequires: xorg-x11-devel
|
|||||||
# to BuildRequires
|
# to BuildRequires
|
||||||
#
|
#
|
||||||
%define debug no
|
%define debug no
|
||||||
|
%global rlver %(rpm -q --qf '%{VERSION}' readline-devel | sed 's/\\.//g')
|
||||||
Requires(pre): vim
|
Requires(pre): vim
|
||||||
Requires(pre): vim-data
|
Requires(pre): vim-data
|
||||||
Requires: ffcall
|
Requires: ffcall
|
||||||
@ -140,7 +143,10 @@ contains two nice applications.
|
|||||||
%endif
|
%endif
|
||||||
%patch14 -p0
|
%patch14 -p0
|
||||||
%patch15 -p0
|
%patch15 -p0
|
||||||
%patch -P 16 -p1
|
%patch16 -p1
|
||||||
|
%if 0%{rlver} >= 70
|
||||||
|
%patch17 -p0
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#
|
#
|
||||||
|
15
modules_readline_readline.lisp.patch
Normal file
15
modules_readline_readline.lisp.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
$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.
|
Loading…
x
Reference in New Issue
Block a user