mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
deskutils/genius: Support ports readline (dports)
This commit is contained in:
parent
df990667c8
commit
4d191364fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360778
@ -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
|
||||
|
11
deskutils/genius/files/patch-src_genius-readline-helper.c
Normal file
11
deskutils/genius/files/patch-src_genius-readline-helper.c
Normal 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;
|
9
deskutils/genius/files/patch-src_inter.c
Normal file
9
deskutils/genius/files/patch-src_inter.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user