1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

deskutils/genius: Support ports readline (dports)

This commit is contained in:
John Marino 2014-07-05 17:09:32 +00:00
parent df990667c8
commit 4d191364fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360778
3 changed files with 21 additions and 1 deletions

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr
RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
shared-mime-info tar:xz
readline shared-mime-info tar:xz
USE_GNOME= gnomedocutils gnomeprefix gtksourceview2 gnomevfs2 vte
USE_CSTD= gnu89
GNU_CONFIGURE= yes

View File

@ -0,0 +1,11 @@
--- src/genius-readline-helper.c.orig 2009-10-19 01:06:52.000000000 +0000
+++ src/genius-readline-helper.c
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
rl_terminal_name = "xterm";
rl_readline_name = "Genius";
rl_attempted_completion_function =
- (CPPFunction *)tab_completion;
+ (rl_completion_func_t *)tab_completion;
while(fgets(buf,4096,infp)) {
int count;

View File

@ -0,0 +1,9 @@
--- src/inter.c.orig 2009-04-19 23:44:43.000000000 +0000
+++ src/inter.c
@@ -368,5 +368,5 @@ init_inter(void)
{
rl_readline_name = "Genius";
rl_attempted_completion_function =
- (CPPFunction *)tab_completion;
+ (rl_completion_func_t *)tab_completion;
}