aboutsummaryrefslogtreecommitdiffstats
path: root/main/kbd
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-10-18 16:34:11 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-10-18 16:34:11 +0200
commit557d41047260aa802f841e1b79da59a33eee04f7 (patch)
tree53a329add11a421d1fffe5075d2ef875aea9ef7b /main/kbd
parentc7398a060f5a48fa301c487595ded676c7a12b39 (diff)
downloadaports-557d41047260aa802f841e1b79da59a33eee04f7.tar.bz2
aports-557d41047260aa802f841e1b79da59a33eee04f7.tar.xz
main/kbd: fix build
* add check-dev to makedepends * include stdarg.h at top of libkeymap/keymap/common.h
Diffstat (limited to 'main/kbd')
-rw-r--r--main/kbd/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/kbd/APKBUILD b/main/kbd/APKBUILD
index 28d749f180..c036a44558 100644
--- a/main/kbd/APKBUILD
+++ b/main/kbd/APKBUILD
@@ -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