sudo: add fix for non-utmpx toolchains
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 30 Mar 2012 10:35:53 +0000 (07:35 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Mar 2012 11:08:11 +0000 (13:08 +0200)
commit20b76e7c3588938e5e6dc71e7f96607f0207f5c2
tree319113d9a37cf5d1b6219c6dc038dfabf9eebb66
parent4bff1dde4b753e986c36858dd9e6afd04eb054ac
sudo: add fix for non-utmpx toolchains

The utmpx defines for when the target systems lacks utmpx is incomplete,
resulting in a build failure, so fix it.
This can be triggered by a uClibc toolchain that lacks UTMPX in the
configuration, or an older (<= 0.9.31) uClibc which lacks the
functionality.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sudo/sudo-1.8.4p4-utmpx.patch [new file with mode: 0644]