freebsd-ports/net/linphone-base/files/patch-coreapi::misc.c
Edwin Groothuis e4076a018e Upgrade to version 0.12.0. This is a follow up of the upgrade and
backout of the commit last tuesday.

I have disabled IPv6 support since it causes linphone not to work
properly. Informed author about it.
2003-10-23 03:29:23 +00:00

23 lines
604 B
C

$FreeBSD$
--- coreapi/misc.c.orig Sat Aug 9 00:10:47 2003
+++ coreapi/misc.c Sat Aug 23 00:08:50 2003
@@ -93,7 +93,7 @@
pid_t pid;
/* try to kill all artsd*/
- command=g_strdup_printf("ps -u %s |grep artsd",getenv("LOGNAME"));
+ command=g_strdup_printf("ps -c %s |grep artsd",getenv("LOGNAME"));
out=popen(command,"r");
if (out!=NULL)
{
@@ -123,7 +123,7 @@
g_free(command);
/* do the same with esd*/
- command=g_strdup_printf("ps -u %s |grep esd",getenv("LOGNAME"));
+ command=g_strdup_printf("ps -c %s |grep esd",getenv("LOGNAME"));
out=popen(command,"r");
if (out!=NULL)
{