[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kfreebsd-10 FTBFS with libbsd/0.7.0



Christoph,

Please try the attached to patch your /usr/include/freebsd/stdio.h

I'm thinking that since libbsd now provides funopen and fropen/fwopen
wrappers around it, we could drop our own definitions from freebsd-glue.
 I still don't understand where the implementation of the function comes
from though;  so I hope it still works.  I may have some aic7xxx
hardware lying around somewhere to test.

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
--- stdio.h.orig	2014-08-25 14:35:52.936518000 +0100
+++ stdio.h	2014-08-25 14:36:07.348814000 +0100
@@ -12,12 +12,4 @@
 
 #include <sys/cdefs.h>
 
-__BEGIN_DECLS
-FILE *funopen (const void *cookie, int (*readfn)(void *, char *, int),
-	       int (*writefn)(void *, const char *, int),
-	       fpos_t (*seekfn)(void *, fpos_t, int), int (*closefn)(void *));
-FILE *fropen (void *cookie, int (*readfn)(void *, char *, int));
-FILE *fwopen (void *cookie, int (*writefn)(void *, const char *, int));
-__END_DECLS
-
 #endif

Reply to: