main/kbd: fix build

* add check-dev to makedepends
* include stdarg.h at top of libkeymap/keymap/common.h
This commit is contained in:
Bartłomiej Piotrowski 2013-10-18 16:34:11 +02:00
parent c7398a060f
commit 557d410472

View File

@ -8,7 +8,7 @@ url="http://ftp.altlinux.org/pub/people/legion/kbd"
arch="all"
license="GPLv2+"
depends="kbd-misc"
makedepends="bison flex autoconf automake linux-pam-dev"
makedepends="bison flex autoconf automake linux-pam-dev check-dev"
install=""
subpackages="$pkgname-misc $pkgname-doc"
source="ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-$pkgver.tar.gz
@ -23,7 +23,8 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
aclocal -I m4 && autoreconf || return 1
aclocal -I m4 && automake --add-missing && autoreconf || return 1
sed -i '1i#include <stdarg.h>' src/libkeymap/keymap/common.h
# fixes from fedora
# 7-bit maps are obsolete; so are non-euro maps