Date: Thu, 7 Dec 2017 09:46:42 +0000 (UTC) From: Rodrigo Osorio <rodrigo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455702 - in head/x11/tilda: . files Message-ID: <201712070946.vB79kgoe033148@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigo Date: Thu Dec 7 09:46:41 2017 New Revision: 455702 URL: https://svnweb.freebsd.org/changeset/ports/455702 Log: Tilda uses wrong ps flag on start Replace ps call by pgrep Bump PORTREVISION Modified: head/x11/tilda/Makefile head/x11/tilda/files/patch-tilda.c Modified: head/x11/tilda/Makefile ============================================================================== --- head/x11/tilda/Makefile Thu Dec 7 09:41:00 2017 (r455701) +++ head/x11/tilda/Makefile Thu Dec 7 09:46:41 2017 (r455702) @@ -3,6 +3,7 @@ PORTNAME= tilda PORTVERSION= 1.3.3 DISTVERSIONPREFIX= ${PORTNAME}- +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= rodrigo@FreeBSD.org Modified: head/x11/tilda/files/patch-tilda.c ============================================================================== --- head/x11/tilda/files/patch-tilda.c Thu Dec 7 09:41:00 2017 (r455701) +++ head/x11/tilda/files/patch-tilda.c Thu Dec 7 09:46:41 2017 (r455702) @@ -1,5 +1,5 @@ ---- src/tilda.c.orig 2015-12-16 12:11:58 UTC -+++ src/tilda.c +--- src/tilda.c.orig 2017-09-08 22:19:35.318278000 +0300 ++++ src/tilda.c 2017-09-08 22:21:22.752550000 +0300 @@ -12,6 +12,7 @@ * You should have received a copy of the GNU Library General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. @@ -8,3 +8,12 @@ #define _POSIX_SOURCE /* feature test macro for signal functions */ #define _XOPEN_SOURCE /* feature test macro for popen */ +@@ -230,7 +231,7 @@ + static GSList *getPids() { + GSList *pids = NULL; + FILE *ps_output; +- const gchar ps_command[] = "ps -C tilda -o pid="; ++ const gchar ps_command[] = "pgrep tilda"; + gchar buf[16]; /* Really shouldn't need more than 6 */ + + if ((ps_output = popen (ps_command, "r")) == NULL) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712070946.vB79kgoe033148>