Adding patches for cdecl to build. I picked them from:

http://gentoo-overlays.zugaina.org/gentoo/portage/dev-util/cdecl/files/


svn path=/nixpkgs/trunk/; revision=32866
This commit is contained in:
Lluís Batlle i Rossell
2012-03-07 22:12:12 +00:00
parent 11f64b0449
commit f1f834f260
3 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
Index: cdecl-2.5/cdecl.c
===================================================================
--- cdecl-2.5.orig/cdecl.c
+++ cdecl-2.5/cdecl.c
@@ -204,6 +204,7 @@ int DebugFlag = 0; /* -d, output debugg
#define ANSI 4 /* combo not allowed anymore in ANSI compiler */
#define A ANSI
+extern char **completion_matches PARAMS((char *, rl_compentry_func_t *));
/* This is an lower left triangular array. If we needed */
/* to save 9 bytes, the "long" row can be removed. */
char crosscheck[9][9] = {