diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-11-27 13:47:15 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-11-27 13:47:15 +0000 |
commit | 255fa159933849512d23aaddd0b5316b5a0193e3 (patch) | |
tree | 240dbeaab07a1ec2300b938bc9b427bfaf1f8cfa | |
parent | 9fd4a4e7d8988cfb4312c42539a321332cd5d323 (diff) | |
download | ports-255fa159933849512d23aaddd0b5316b5a0193e3.tar.gz ports-255fa159933849512d23aaddd0b5316b5a0193e3.zip |
Notes
-rw-r--r-- | ports-mgmt/packagekit/files/patch-src_pk-lsof.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/ports-mgmt/packagekit/files/patch-src_pk-lsof.c b/ports-mgmt/packagekit/files/patch-src_pk-lsof.c index b6948dcff51b..70e311d19fa6 100644 --- a/ports-mgmt/packagekit/files/patch-src_pk-lsof.c +++ b/ports-mgmt/packagekit/files/patch-src_pk-lsof.c @@ -1,6 +1,6 @@ ---- src/pk-lsof.c.orig 2010-10-21 12:50:10.000000000 -0400 -+++ src/pk-lsof.c 2010-11-27 00:13:21.000000000 -0500 -@@ -154,7 +154,7 @@ pk_lsof_refresh (PkLsof *lsof) +--- src/pk-lsof.c.orig 2010-10-21 18:50:10.000000000 +0200 ++++ src/pk-lsof.c 2010-11-27 14:39:56.000000000 +0100 +@@ -154,7 +154,7 @@ g_return_val_if_fail (PK_IS_LSOF (lsof), FALSE); /* try to find lsof */ @@ -9,14 +9,3 @@ ret = g_file_test (lsof_name, G_FILE_TEST_EXISTS); if (!ret) { lsof_name = "/usr/bin/lsof"; ---- src/pk-lsof.c.orig 2010-01-09 15:57:54.000000000 -0500 -+++ src/pk-lsof.c 2010-01-09 15:58:15.000000000 -0500 -@@ -153,7 +153,7 @@ pk_lsof_refresh (PkLsof *lsof) - g_return_val_if_fail (PK_IS_LSOF (lsof), FALSE); - - /* run lsof to get all data */ -- ret = g_spawn_command_line_sync ("/usr/sbin/lsof -Fpfn", &stdout, &stderr, NULL, &error); -+ ret = g_spawn_command_line_sync ("%%LOCALBASE%%/sbin/lsof -Fpfn", &stdout, &stderr, NULL, &error); - if (!ret) { - egg_warning ("failed to get pids: %s", error->message); - g_error_free (error); |