Thank you very much for fixing the problem. This patch has been applied to the master branch of libkqueue, and will be included in the next release.
Regards, - Mark On Thu, Jul 10, 2014 at 6:55 AM, YunQiang Su <wzss...@gmail.com> wrote: > Package: libkqueue > Version: 2.0.3-1 > > With this patch, it can build on mips64el now. > > Index: libkqueue-2.0.3/src/common/knote.c > =================================================================== > --- libkqueue-2.0.3.orig/src/common/knote.c 2014-02-24 04:29:52.000000000 > +0800 > +++ libkqueue-2.0.3/src/common/knote.c 2014-07-10 10:30:49.274717467 +0800 > @@ -120,7 +120,7 @@ > ent = RB_FIND(knt, &filt->kf_knote, &query); > pthread_rwlock_unlock(&filt->kf_knote_mtx); > > -#ifdef __x86_64__ > +#if defined(__x86_64__) || defined(__mips64) > dbg_printf("id=%lu ent=%p", ident, ent); > #else > dbg_printf("id=%u ent=%p", ident, ent); > > > -- > YunQiang Su >