summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-27 12:07:54 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-27 12:07:54 +0800
commit141d11fe36564c2ecd08c2ce6c1309459b9a143b (patch)
tree284dbd8e1fd26299f03b4abaf9f1da94ce4a9c86
parentbb3a1ce7546e172621af51e900104cb3884ad9ca (diff)
downloadmarcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.tar
marcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.tar.gz
marcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.tar.bz2
marcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.tar.lz
marcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.tar.xz
marcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.tar.zst
marcuscom-ports-141d11fe36564c2ecd08c2ce6c1309459b9a143b.zip
Correct it by move a line outside the function and put under the headers area.
Reviewed by: marcus git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10553 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--security/gnome-keyring/files/patch-library_gnome-keyring.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/security/gnome-keyring/files/patch-library_gnome-keyring.c b/security/gnome-keyring/files/patch-library_gnome-keyring.c
index 594a3daed..625a65cc7 100644
--- a/security/gnome-keyring/files/patch-library_gnome-keyring.c
+++ b/security/gnome-keyring/files/patch-library_gnome-keyring.c
@@ -1,10 +1,11 @@
---- library/gnome-keyring.c.orig 2008-02-26 20:04:07.000000000 -0600
-+++ library/gnome-keyring.c 2008-02-26 20:04:11.000000000 -0600
-@@ -1786,6 +1786,7 @@
- GnomeKeyringResult res;
- gchar **daemonenv, **e;
- gchar **parts;
-+ extern char **environ;
-
- gkr_buffer_init_full (&send, 128, NORMAL_ALLOCATOR);
+--- library/gnome-keyring.c.orig 2008-02-26 22:05:10.000000000 -0600
++++ library/gnome-keyring.c 2008-02-26 22:05:30.000000000 -0600
+@@ -50,6 +50,8 @@
+ #include <dbus/dbus.h>
+ #endif
++extern char **environ;
++
+ typedef enum {
+ CALLBACK_DONE,
+ CALLBACK_GET_STRING,