aboutsummaryrefslogtreecommitdiff
path: root/security/gnome-keyring
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2013-11-04 04:45:33 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2013-11-04 04:45:33 +0000
commit29e500d6d8a3681fd9d460d7681996050c5e4f67 (patch)
tree844bbba31b797b1fe1bcf480cc4069a58ecd9474 /security/gnome-keyring
parentcf5fac8087e0f375c4daadf324d84291c9db7823 (diff)
Notes
Diffstat (limited to 'security/gnome-keyring')
-rw-r--r--security/gnome-keyring/files/patch-egg_egg-asn1x.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/security/gnome-keyring/files/patch-egg_egg-asn1x.h b/security/gnome-keyring/files/patch-egg_egg-asn1x.h
new file mode 100644
index 000000000000..dd0c4049f58d
--- /dev/null
+++ b/security/gnome-keyring/files/patch-egg_egg-asn1x.h
@@ -0,0 +1,42 @@
+--- egg/egg-asn1x.h.orig 2010-10-19 06:11:38.000000000 +0400
++++ egg/egg-asn1x.h 2013-11-04 08:27:50.000000000 +0400
+@@ -25,6 +25,7 @@
+ #define EGG_ASN1X_H_
+
+ #include <glib.h>
++#include <libtasn1.h>
+
+ #ifndef HAVE_EGG_ALLOCATOR
+ typedef void* (*EggAllocator) (void* p, gsize);
+@@ -33,15 +34,13 @@
+
+ typedef gboolean (*EggAsn1xEncoder) (gpointer data, guchar *buf, gsize n_buf);
+
+-struct static_struct_asn;
+-
+-GNode* egg_asn1x_create (const struct static_struct_asn *defs,
++GNode* egg_asn1x_create (const ASN1_ARRAY_TYPE *defs,
+ const gchar *type);
+
+-GNode* egg_asn1x_create_quark (const struct static_struct_asn *defs,
++GNode* egg_asn1x_create_quark (const ASN1_ARRAY_TYPE *defs,
+ GQuark type);
+
+-GNode* egg_asn1x_create_and_decode (const struct static_struct_asn *defs,
++GNode* egg_asn1x_create_and_decode (const ASN1_ARRAY_TYPE *defs,
+ const gchar *type,
+ gconstpointer data,
+ gsize n_data);
+@@ -167,10 +166,10 @@
+
+ void egg_asn1x_destroy (gpointer asn);
+
+-glong egg_asn1x_parse_time_general (const gchar *time,
++time_t egg_asn1x_parse_time_general (const gchar *time,
+ gssize n_time);
+
+-glong egg_asn1x_parse_time_utc (const gchar *time,
++time_t egg_asn1x_parse_time_utc (const gchar *time,
+ gssize n_time);
+
+ gssize egg_asn1x_element_length (gconstpointer data,