1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- Fix build on 11.x

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-06-07 15:35:05 +00:00
parent c87702f80a
commit 503eb77994
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416512

View File

@ -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 */