mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
51 lines
2.1 KiB
Plaintext
51 lines
2.1 KiB
Plaintext
$NetBSD: patch-af,v 1.4 2013/07/06 22:20:33 wiz Exp $
|
|
|
|
First and second chunk: libtasn-3.1 compat.
|
|
|
|
Third chunk:
|
|
date: 2009-03-17 14:52:08 +0100; author: tnn; state: Exp;
|
|
Fix build failure due to 64-bit time_t.
|
|
|
|
--- egg/egg-asn1x.h.orig 2010-10-19 02:11:38.000000000 +0000
|
|
+++ egg/egg-asn1x.h
|
|
@@ -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 void* (*EggAllocator) (void* p,
|
|
|
|
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 @@ gboolean egg_asn1x_set_oid_as
|
|
|
|
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,
|