summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring-manager/files
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-23 09:30:42 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-23 09:30:42 +0800
commit8c9e68ad7551cc10d85475b1fb1842838a8d15c3 (patch)
tree6e77632620fc4a6cb46fffcc21b0d6651d248105 /security/gnome-keyring-manager/files
parent8267d4c53e3e371219678d476e3624d4fb60e02c (diff)
downloadmarcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.tar
marcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.tar.gz
marcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.tar.bz2
marcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.tar.lz
marcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.tar.xz
marcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.tar.zst
marcuscom-ports-8c9e68ad7551cc10d85475b1fb1842838a8d15c3.zip
USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6702 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/gnome-keyring-manager/files')
-rw-r--r--security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-acl-display.c19
-rw-r--r--security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-util.c13
2 files changed, 32 insertions, 0 deletions
diff --git a/security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-acl-display.c b/security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-acl-display.c
new file mode 100644
index 000000000..3df8081ba
--- /dev/null
+++ b/security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-acl-display.c
@@ -0,0 +1,19 @@
+--- src/gnome-keyring-manager-acl-display.c.orig Sat Jul 2 02:12:49 2005
++++ src/gnome-keyring-manager-acl-display.c Sat Jul 2 02:16:31 2005
+@@ -393,13 +393,15 @@ gkm_acl_display_set_acl (GKMAclDisplay *
+ GnomeKeyringAccessType at;
+ GtkTreeIter iter;
+ char *name, *path;
++ const char *app_path;
+
+ ac = (GnomeKeyringAccessControl*) tmp->data;
+ name = gnome_keyring_item_ac_get_display_name (ac);
+ path = gnome_keyring_item_ac_get_path_name (ac);
++ app_path = gkm_get_application_path ();
+
+ /* We don't want to include ourself in the list. */
+- if (g_str_equal (path, gkm_get_application_path ()))
++ if (app_path && g_str_equal (path, app_path))
+ {
+ self->priv->gkm_ac = gnome_keyring_access_control_copy (ac);
+ }
diff --git a/security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-util.c b/security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-util.c
new file mode 100644
index 000000000..3291d2841
--- /dev/null
+++ b/security/gnome-keyring-manager/files/patch-src_gnome-keyring-manager-util.c
@@ -0,0 +1,13 @@
+--- src/gnome-keyring-manager-util.c.orig Wed May 18 16:41:35 2005
++++ src/gnome-keyring-manager-util.c Sat Jul 2 02:12:38 2005
+@@ -354,6 +354,10 @@ gkm_get_application_path (void)
+ {
+ path = g_file_read_link ("/proc/self/exe", NULL);
+ }
++#elif defined(__FreeBSD__)
++ {
++ path = g_file_read_link ("/proc/curproc/file", NULL);
++ }
+ #endif
+ }
+