On 16/02/2014 10:40, Mats Erik Andersson wrote: >> > 1. Rebuild freebsd-glue with attached patch >> > 2. Add "-I /usr/include/freebsd" to CFLAGS in your package. >> > 3. Add "-lfreebsd-glue" to LDFLAGS in your package. >> > >> > This should seamlessly map sendfile() to the BSD version. >> > >> > Alternatively, you can skip step 2 and use bsd_sendfile() instead. > I now doubt the sanity of your undertaking, as the > patch is shadowing an existing sendfile() of glibc, > using a macro of a radically different signature.
As I said, you can skip step 2 and use bsd_sendfile(). You don't have to override your namespace unless you want to. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5300acdb.7040...@debian.org