lib/blkdev: report correct disk size on GNU/kFreeBSD. Thanks Tuco.

Addresses-Debian-Bug: 592292
ipcs: remaining kFreeBSD hackery for building.

Addresses-Debian-Bug: #527384
Signed-off-by: LaMont Jones <lamont@debian.org>
agetty: fixing FTBFS on !linux (Debian util-linux 2.20.1-1.2)

Handle vc flags missing on FreeBSD
Fix tty creation on kFreeBSD taking patch from 2.19

Addresses-Debian-Bug: #650185
ipcrm: add hacks to avoid FTBFS

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
build-sys: use -lutil for BSD only

Signed-off-by: Karel Zak <kzak@redhat.com>