diff options
author | joerg <joerg@pkgsrc.org> | 2014-04-19 14:59:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-04-19 14:59:35 +0000 |
commit | f33941ac819198019782f6f0a7d7448854ad102d (patch) | |
tree | cde57f4ec1a5ee15ec41cc2fa5ddae3e5e50f5a4 /chat | |
parent | 50f9b23bacc015714b75a72765cec24214d3e188 (diff) | |
download | pkgsrc-f33941ac819198019782f6f0a7d7448854ad102d.tar.gz |
Fix build with newer readline.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/gale/distinfo | 3 | ||||
-rw-r--r-- | chat/gale/patches/patch-liboop_test-oop.c | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/chat/gale/distinfo b/chat/gale/distinfo index 6efd78945b1..66cc2e45fe7 100644 --- a/chat/gale/distinfo +++ b/chat/gale/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2005/09/07 13:58:16 adam Exp $ +$NetBSD: distinfo,v 1.6 2014/04/19 14:59:35 joerg Exp $ SHA1 (gale-0.99fruit.tar.bz2) = 1a89f4db45b0fb23e678161199531c1a5a5a3625 RMD160 (gale-0.99fruit.tar.bz2) = 71e3190c6ff91bd8831cf3f3eac479b928ae89e9 Size (gale-0.99fruit.tar.bz2) = 384552 bytes SHA1 (patch-aa) = 5061914b02f33df1d3845aec34630abdc2ba3882 SHA1 (patch-ac) = 4da3c0bf6c1788b0d1b8658edb51369a32e35471 +SHA1 (patch-liboop_test-oop.c) = 69de8d170d5d26675017da2606ce153d3e82483d diff --git a/chat/gale/patches/patch-liboop_test-oop.c b/chat/gale/patches/patch-liboop_test-oop.c new file mode 100644 index 00000000000..26ec5a4d35a --- /dev/null +++ b/chat/gale/patches/patch-liboop_test-oop.c @@ -0,0 +1,24 @@ +$NetBSD: patch-liboop_test-oop.c,v 1.1 2014/04/19 14:59:35 joerg Exp $ + +--- liboop/test-oop.c.orig 2014-04-19 13:45:30.000000000 +0000 ++++ liboop/test-oop.c +@@ -160,7 +160,7 @@ static void *stop_data(oop_source *sourc + + #ifdef HAVE_READLINE + +-static void on_readline(const char *input) { ++static void on_readline(char *input) { + if (NULL == input) + puts("\rreadline: EOF"); + else { +@@ -179,8 +179,8 @@ static void *stop_readline(oop_source *s + + static void add_readline(oop_source *src) { + rl_callback_handler_install( +- (char *) "> ", /* readline isn't const-correct */ +- (VFunction *) on_readline); ++ "> ", ++ on_readline); + oop_readline_register(src); + src->on_signal(src,SIGQUIT,stop_readline,NULL); + } |