pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/clisp Fix build with readline-7.0 and depend on it.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3ae0bbfa7d3
branches: trunk
changeset: 352985:a3ae0bbfa7d3
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 20 14:10:25 2016 +0000
description:
Fix build with readline-7.0 and depend on it.
Bump PKGREVISION.
diffstat:
lang/clisp/Makefile | 6 ++----
lang/clisp/distinfo | 3 ++-
lang/clisp/options.mk | 3 ++-
lang/clisp/patches/patch-modules_readline_readline.lisp | 15 +++++++++++++++
4 files changed, 21 insertions(+), 6 deletions(-)
diffs (73 lines):
diff -r 9bec37583b00 -r a3ae0bbfa7d3 lang/clisp/Makefile
--- a/lang/clisp/Makefile Tue Sep 20 13:49:20 2016 +0000
+++ b/lang/clisp/Makefile Tue Sep 20 14:10:25 2016 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.107 2016/08/23 20:03:48 asau Exp $
-#
+# $NetBSD: Makefile,v 1.108 2016/09/20 14:10:25 wiz Exp $
DISTNAME= clisp-2.49
-PKGREVISION= 21
+PKGREVISION= 22
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
#EXTRACT_SUFX= .tar.bz2
@@ -68,5 +67,4 @@
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libsigsegv+= libsigsegv>=2.4
.include "../../devel/libsigsegv/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff -r 9bec37583b00 -r a3ae0bbfa7d3 lang/clisp/distinfo
--- a/lang/clisp/distinfo Tue Sep 20 13:49:20 2016 +0000
+++ b/lang/clisp/distinfo Tue Sep 20 14:10:25 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2016/01/30 00:38:15 wiz Exp $
+$NetBSD: distinfo,v 1.34 2016/09/20 14:10:25 wiz Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
@@ -7,6 +7,7 @@
SHA1 (patch-aa) = aa7e25685ed5818f45b550eba0011683dc36bc90
SHA1 (patch-ab) = 93aef2c423ce9e5eabebc20cdc144c83845b19cb
SHA1 (patch-ac) = c31fcd65d7d37aeaf69c0eee9499bff596b6619b
+SHA1 (patch-modules_readline_readline.lisp) = fe4752fde4524cf91975373accad55fa8680a170
SHA1 (patch-src_configure) = 861681456cb768b7f308aa88e77f1cee1edb2090
SHA1 (patch-src_lispbibl.d) = 68eeac6def2d22ffb214fd8be3870d5c654f10bc
SHA1 (patch-src_stream.d) = 28bde27e99277d9df24028534c3b46e2099c460c
diff -r 9bec37583b00 -r a3ae0bbfa7d3 lang/clisp/options.mk
--- a/lang/clisp/options.mk Tue Sep 20 13:49:20 2016 +0000
+++ b/lang/clisp/options.mk Tue Sep 20 14:10:25 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2013/10/15 16:21:46 asau Exp $
+# $NetBSD: options.mk,v 1.12 2016/09/20 14:10:25 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.clisp
@@ -42,6 +42,7 @@
.if !empty(PKG_OPTIONS:Mreadline)
CONFIGURE_ARGS+= --with-readline
+BUILDLINK_API_DEPENDS.readline+= readline>=7.0
.include "../../devel/readline/buildlink3.mk"
.endif
diff -r 9bec37583b00 -r a3ae0bbfa7d3 lang/clisp/patches/patch-modules_readline_readline.lisp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/clisp/patches/patch-modules_readline_readline.lisp Tue Sep 20 14:10:25 2016 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index