Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 17:09:32 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360778 - in head/deskutils/genius: . files
Message-ID:  <201407051709.s65H9WcG052796@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Jul  5 17:09:32 2014
New Revision: 360778
URL: http://svnweb.freebsd.org/changeset/ports/360778
QAT: https://qat.redports.org/buildarchive/r360778/

Log:
  deskutils/genius: Support ports readline (dports)

Added:
  head/deskutils/genius/files/
  head/deskutils/genius/files/patch-src_genius-readline-helper.c   (contents, props changed)
  head/deskutils/genius/files/patch-src_inter.c   (contents, props changed)
Modified:
  head/deskutils/genius/Makefile

Modified: head/deskutils/genius/Makefile
==============================================================================
--- head/deskutils/genius/Makefile	Sat Jul  5 17:05:12 2014	(r360777)
+++ head/deskutils/genius/Makefile	Sat Jul  5 17:09:32 2014	(r360778)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libmpfr.so:${PORTSDIR}/math
 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

Added: head/deskutils/genius/files/patch-src_genius-readline-helper.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/genius/files/patch-src_genius-readline-helper.c	Sat Jul  5 17:09:32 2014	(r360778)
@@ -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;

Added: head/deskutils/genius/files/patch-src_inter.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/genius/files/patch-src_inter.c	Sat Jul  5 17:09:32 2014	(r360778)
@@ -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;
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407051709.s65H9WcG052796>