]> code.ossystems Code Review - openembedded-core.git/commit
cracklib: Allow byte order patch to work on older Linux hosts
authorMark Hatle <mark.hatle@windriver.com>
Fri, 24 May 2013 15:03:54 +0000 (10:03 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 May 2013 21:07:23 +0000 (22:07 +0100)
commit52c83ea977b0f95917ec81dff394454e1a9bd541
treed8d1258ed497b496a13f2a765afa98c1351e70ba
parente77603324332b932c73c9e22ab65a0b9b7c17798
cracklib: Allow byte order patch to work on older Linux hosts

Older hosts don't have the htobe* and be*toh functions defined.
Instead we fall back to checking the endian and calling bswap_*
directly.  This works on both old and new hosts.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch