svn commit: r455702 - in head/x11/tilda: . files

Rodrigo Osorio rodrigo at FreeBSD.org
Thu Dec 7 09:46:43 UTC 2017


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 at 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) {


More information about the svn-ports-head mailing list