aboutsummaryrefslogtreecommitdiff
path: root/security/dirmngr
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-07 15:35:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-07 15:35:05 +0000
commit503eb77994d27cf3316d398304c1319ad2d712c3 (patch)
treeace8a65b9a891f39b9df9b6e884bad0e882c701c /security/dirmngr
parentc87702f80acf3c70ef156d752e90256170b964ac (diff)
downloadports-503eb77994d27cf3316d398304c1319ad2d712c3.tar.gz
ports-503eb77994d27cf3316d398304c1319ad2d712c3.zip
Notes
Diffstat (limited to 'security/dirmngr')
-rw-r--r--security/dirmngr/files/patch-src_misc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/dirmngr/files/patch-src_misc.h b/security/dirmngr/files/patch-src_misc.h
new file mode 100644
index 000000000000..e540d13fc052
--- /dev/null
+++ b/security/dirmngr/files/patch-src_misc.h
@@ -0,0 +1,17 @@
+--- src/misc.h.orig 2007-11-16 13:21:46 UTC
++++ src/misc.h
+@@ -114,14 +114,6 @@ void dump_cert (const char *text, ksba_c
+ char *host_and_port_from_url (const char *url, int *port);
+
+
+-#ifdef HAVE_FOPENCOOKIE
+-/* We have to implement funopen in terms of glibc's fopencookie. */
+-FILE *funopen(void *cookie,
+- int (*readfn)(void *, char *, int),
+- int (*writefn)(void *, const char *, int),
+- fpos_t (*seekfn)(void *, fpos_t, int),
+- int (*closefn)(void *));
+-#endif /*HAVE_FOPENCOOKIE*/
+
+
+ #endif /* MISC_H */