pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cdecl Fix build with readline 6.3. Add patch com...
details: https://anonhg.NetBSD.org/pkgsrc/rev/979bfe07da54
branches: trunk
changeset: 632130:979bfe07da54
user: dholland <dholland%pkgsrc.org@localhost>
date: Mon Mar 17 07:07:40 2014 +0000
description:
Fix build with readline 6.3. Add patch comment.
diffstat:
devel/cdecl/distinfo | 6 +++---
devel/cdecl/patches/patch-aa | 13 ++++++++++---
2 files changed, 13 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r fde35cf4de09 -r 979bfe07da54 devel/cdecl/distinfo
--- a/devel/cdecl/distinfo Mon Mar 17 07:07:04 2014 +0000
+++ b/devel/cdecl/distinfo Mon Mar 17 07:07:40 2014 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2009/09/27 22:27:22 apb Exp $
+$NetBSD: distinfo,v 1.12 2014/03/17 07:07:40 dholland Exp $
SHA1 (cdecl-2.5.tar.gz) = b955a0b95b635090360b19de888cb29d5c005296
RMD160 (cdecl-2.5.tar.gz) = 351c36dcc7f18e4d143f2559460025d2de9a83c4
Size (cdecl-2.5.tar.gz) = 21435 bytes
-SHA1 (patch-aa) = cf6f5821c1856104841c60075111f6eecb30da2e
-SHA1 (patch-ab) = e8c9f70894ed5613234ed17b8c1c95c9b12afd7b
+SHA1 (patch-aa) = 6aa8aa0fbe5acfefc6e37c8fd10f318b004fe8a0
+SHA1 (patch-ab) = f12ac884f95c9b241cda749b0ea50f6d69e1c6a4
diff -r fde35cf4de09 -r 979bfe07da54 devel/cdecl/patches/patch-aa
--- a/devel/cdecl/patches/patch-aa Mon Mar 17 07:07:04 2014 +0000
+++ b/devel/cdecl/patches/patch-aa Mon Mar 17 07:07:40 2014 +0000
@@ -1,4 +1,9 @@
-$NetBSD: patch-aa,v 1.10 2009/09/27 22:27:23 apb Exp $
+$NetBSD: patch-aa,v 1.11 2014/03/17 07:07:40 dholland Exp $
+
+ - Don't issue own declarations of malloc, free, exit, perror, errno, getopt.
+ - Use standard headers.
+ - Avoid symbol conflicts with restrict, setprogname, getline.
+ - Fix build with current readline.
--- cdecl.c.orig 1996-01-16 03:54:46.000000000 +0000
+++ cdecl.c
@@ -176,11 +181,13 @@
if (!strcmp(line, "quit") || !strcmp(line, "exit")) {
free(line);
return ret;
-@@ -1252,10 +1258,10 @@ char **argv;
+@@ -1251,11 +1257,11 @@ char **argv;
+
#ifdef USE_READLINE
/* install completion handlers */
- rl_attempted_completion_function = (CPPFunction *)attempt_completion;
+- rl_attempted_completion_function = (CPPFunction *)attempt_completion;
- rl_completion_entry_function = (Function *)keyword_completion;
++ rl_attempted_completion_function = (rl_completion_func_t *)attempt_completion;
+ rl_completion_entry_function = keyword_completion;
#endif
Home |
Main Index |
Thread Index |
Old Index