[csw-devel] SF.net SVN: gar:[21751] csw/mgar/pkg/tracker/trunk

slowfranklin at users.sourceforge.net slowfranklin at users.sourceforge.net
Fri Aug 16 15:51:21 CEST 2013


Revision: 21751
          http://gar.svn.sourceforge.net/gar/?rev=21751&view=rev
Author:   slowfranklin
Date:     2013-08-16 13:51:19 +0000 (Fri, 16 Aug 2013)
Log Message:
-----------
tracker/trunk: Fix for previous procfs psinfo patch

Modified Paths:
--------------
    csw/mgar/pkg/tracker/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/tracker/trunk/files/0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli2.patch

Modified: csw/mgar/pkg/tracker/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tracker/trunk/Makefile	2013-08-16 12:43:56 UTC (rev 21750)
+++ csw/mgar/pkg/tracker/trunk/Makefile	2013-08-16 13:51:19 UTC (rev 21751)
@@ -115,6 +115,7 @@
 PATCHFILES += 0005-exempi-xmp.h-is-missing-a-stdbool.h-include.patch
 # Submitted upstream, should be in 0.16.3
 PATCHFILES += 0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli.patch
+PATCHFILES += 0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli2.patch
 PATCHFILES += 0008-Remove-log-calls-in-signal-handler.patch
 
 # Packages

Added: csw/mgar/pkg/tracker/trunk/files/0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli2.patch
===================================================================
--- csw/mgar/pkg/tracker/trunk/files/0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli2.patch	                        (rev 0)
+++ csw/mgar/pkg/tracker/trunk/files/0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli2.patch	2013-08-16 13:51:19 UTC (rev 21751)
@@ -0,0 +1,31 @@
+From 3c21cb559af89b1311d8f01ee4e8b1f2bbeaf293 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Fri, 16 Aug 2013 15:46:45 +0200
+Subject: [PATCH] libtracker-common: Use procfs psinfo instead of cmdline on
+ Solaris
+
+Earlier commit 5b62dbd808928c1886d3ffa54ca01b289d50304e was missing
+the correct /proc filename for Solaris.
+---
+ src/libtracker-common/tracker-dbus.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/libtracker-common/tracker-dbus.c b/src/libtracker-common/tracker-dbus.c
+index beb1814..53da8e7 100644
+--- a/src/libtracker-common/tracker-dbus.c
++++ b/src/libtracker-common/tracker-dbus.c
+@@ -165,7 +165,11 @@ client_data_new (gchar *sender)
+ 		filename = g_build_filename (G_DIR_SEPARATOR_S,
+ 		                             "proc",
+ 		                             pid_str,
++#ifdef __sun /* Solaris */
++		                             "psinfo",
++#else
+ 		                             "cmdline",
++#endif
+ 		                             NULL);
+ 		g_free (pid_str);
+ 
+-- 
+1.8.3.4
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list