diff options
author | joerg <joerg@pkgsrc.org> | 2014-04-19 14:53:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-04-19 14:53:00 +0000 |
commit | e83ddd181567bae1a1ea82bf5778ece3f9ceaaa7 (patch) | |
tree | 2d6c0d098d09ea2bac8a833827bcc67ce4988f3f /cad | |
parent | bc889c225a0dc1e7c32baf7e83ee9e0c280200b4 (diff) | |
download | pkgsrc-e83ddd181567bae1a1ea82bf5778ece3f9ceaaa7.tar.gz |
Fix readline use. Add missing include while here.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/felt/distinfo | 5 | ||||
-rw-r--r-- | cad/felt/patches/patch-al | 31 | ||||
-rw-r--r-- | cad/felt/patches/patch-src_Burlap_matrixfunc.c | 12 |
3 files changed, 45 insertions, 3 deletions
diff --git a/cad/felt/distinfo b/cad/felt/distinfo index e1a67809b58..4b1a9125cb3 100644 --- a/cad/felt/distinfo +++ b/cad/felt/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.17 2013/04/01 09:29:38 sbd Exp $ +$NetBSD: distinfo,v 1.18 2014/04/19 14:53:00 joerg Exp $ SHA1 (felt-3.05.src.tar.gz) = da3e1ced626cc1c65a570d3e6e242252c039c28b RMD160 (felt-3.05.src.tar.gz) = 0d2a363a6ef09f3b3a0e2be186c4c051ac1ea19a @@ -17,7 +17,7 @@ SHA1 (patch-ah) = d48f55d8cc9c3b6d1bc75b56e4f8023e42e6d37e SHA1 (patch-ai) = 00d557b31d2b912de9f952a4f76f2742e98dca1a SHA1 (patch-aj) = 9104b418485bdd9f56c699ac4be9ed64422d19d2 SHA1 (patch-ak) = 0ad726e6992a822ffcf32367f06305ac6ea818cc -SHA1 (patch-al) = 3267802ff6467ffc37cb4de564b005bf1ceb91ac +SHA1 (patch-al) = f46e0b715d0e624619adca69365741e7e3fcda8f SHA1 (patch-am) = de488591d0d7abace294ccb9a9aa6914b2b9fd4d SHA1 (patch-an) = 70195df18c833e46d354e9f2a0212e2bf03e68d2 SHA1 (patch-ao) = 23106adc13a2ea06f94be807a188c8320f4fde8a @@ -25,3 +25,4 @@ SHA1 (patch-ap) = 69650c94ca86ec069049a4fc58553534f26ea4bf SHA1 (patch-aq) = 2265c8e39c1a9bf2cb4f423fabf1dd6128d16210 SHA1 (patch-ar) = 3915c952bc526d10acd5245b33835c2f76002e93 SHA1 (patch-as) = 76dd3f51b62eac4d3e2ca6bbf8d579bdad84a3d2 +SHA1 (patch-src_Burlap_matrixfunc.c) = 03148a88f30ad424d5a81400f2d0eab33d4abe1e diff --git a/cad/felt/patches/patch-al b/cad/felt/patches/patch-al index 868e36c54d3..6d41a9a5a5d 100644 --- a/cad/felt/patches/patch-al +++ b/cad/felt/patches/patch-al @@ -1,4 +1,4 @@ -$NetBSD: patch-al,v 1.2 2009/12/17 20:31:37 abs Exp $ +$NetBSD: patch-al,v 1.3 2014/04/19 14:53:00 joerg Exp $ --- src/Burlap/interactive.c.orig 2000-02-21 22:44:30.000000000 +0000 +++ src/Burlap/interactive.c @@ -11,3 +11,32 @@ $NetBSD: patch-al,v 1.2 2009/12/17 20:31:37 abs Exp $ # include <string.h> # include "error.h" # include "lexer.h" +@@ -96,7 +96,7 @@ static FILE *stream = stdin; + # include "functab.h" + # include "consttab.h" + +-static char *completion_generator PROTO ((char *, int)); ++static char *completion_generator(const char *, int); + + static char *keywords [ ] = { + "break", "do", "else", "end", "for", "function", "global", +@@ -113,9 +113,7 @@ static char *keywords [ ] = { + * intrinsic functions and keywords are completed. * + ************************************************************************/ + +-static char *completion_generator (text, state) +- char *text; +- int state; ++static char *completion_generator(const char *text, int state) + { + char *ptr; + static int index; +@@ -391,7 +389,7 @@ void init_interactive (argv0, s_file, q_ + + using_history ( ); + rl_readline_name = ptr; +- rl_completion_entry_function = (Function *) completion_generator; ++ rl_completion_entry_function = completion_generator; + rl_special_prefixes = "&"; + + # endif /* READLINE */ diff --git a/cad/felt/patches/patch-src_Burlap_matrixfunc.c b/cad/felt/patches/patch-src_Burlap_matrixfunc.c new file mode 100644 index 00000000000..2ecbd3a94bb --- /dev/null +++ b/cad/felt/patches/patch-src_Burlap_matrixfunc.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_Burlap_matrixfunc.c,v 1.1 2014/04/19 14:53:00 joerg Exp $ + +--- src/Burlap/matrixfunc.c.orig 2014-04-19 13:21:40.000000000 +0000 ++++ src/Burlap/matrixfunc.c +@@ -25,6 +25,7 @@ + ************************************************************************/ + + # include <math.h> ++# include <string.h> + # include <time.h> + # include "debug.h" + # include "error.h" |