summaryrefslogtreecommitdiff
path: root/devel/cdecl
diff options
context:
space:
mode:
authordholland <dholland>2014-03-17 07:07:40 +0000
committerdholland <dholland>2014-03-17 07:07:40 +0000
commit036f115468a956ee3242a1c51c42e444b380c444 (patch)
tree1b9ace6302e20217540d392057bf49c0b9669e4f /devel/cdecl
parentbce9aca9e8809ca7e76a512ce32f3ac8a15995d8 (diff)
downloadpkgsrc-036f115468a956ee3242a1c51c42e444b380c444.tar.gz
Fix build with readline 6.3. Add patch comment.
Diffstat (limited to 'devel/cdecl')
-rw-r--r--devel/cdecl/distinfo6
-rw-r--r--devel/cdecl/patches/patch-aa13
2 files changed, 13 insertions, 6 deletions
diff --git a/devel/cdecl/distinfo b/devel/cdecl/distinfo
index d8bc80ab830..3ec1f810029 100644
--- a/devel/cdecl/distinfo
+++ b/devel/cdecl/distinfo
@@ -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 --git a/devel/cdecl/patches/patch-aa b/devel/cdecl/patches/patch-aa
index 9980dd22362..af052ac2cc4 100644
--- a/devel/cdecl/patches/patch-aa
+++ b/devel/cdecl/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.10 2009/09/27 22:27:23 apb Exp $
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