[PATCH] Fix compile on NetBSD-current for popcount

Roy Marples roy at NetBSD.org
Fri Sep 4 08:09:51 CEST 2009


Hi

NetBSD now ships popcount in libc, which does the same job as the gcc 
builtin that rxvt likes to use. This causes a header conflict as rxvt 
likes to alias this builtin to popcount.

Attached is a patch that checks for popcount in libc and uses that by 
preference.

Thanks!

Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rxvt-popcount.diff
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20090904/e081ba4c/attachment.ksh>


More information about the rxvt-unicode mailing list