kbd: update to 2.1.0.
This commit is contained in:
parent
a7b9566290
commit
ba947033ac
2 changed files with 3 additions and 46 deletions
|
@ -1,42 +0,0 @@
|
|||
From b856e52cd6e76a105aad8ddfcd2b123203b687c1 Mon Sep 17 00:00:00 2001
|
||||
From: Natanael Copa <ncopa@alpinelinux.org>
|
||||
Date: Wed, 20 Aug 2014 08:47:50 +0200
|
||||
Subject: [PATCH 2/4] Fix required header includes
|
||||
|
||||
We need fcntl.h for open(2) and limits.h for NAME_MAX for compiling
|
||||
with musl libc.
|
||||
|
||||
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
|
||||
---
|
||||
src/kbdrate.c | 1 +
|
||||
src/openvt.c | 2 ++
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/kbdrate.c b/src/kbdrate.c
|
||||
index 2ab8388..aa66622 100644
|
||||
--- src/kbdrate.c
|
||||
+++ src/kbdrate.c
|
||||
@@ -72,6 +72,7 @@ beats rebuilding the kernel!
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
+#include <fcntl.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/kd.h>
|
||||
diff --git a/src/openvt.c b/src/openvt.c
|
||||
index 075136f..70d37d8 100644
|
||||
--- src/openvt.c
|
||||
+++ src/openvt.c
|
||||
@@ -5,6 +5,8 @@
|
||||
#include <dirent.h>
|
||||
#include <pwd.h>
|
||||
#include <errno.h>
|
||||
+#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/vt.h>
|
||||
--
|
||||
2.1.0
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kbd'
|
||||
pkgname=kbd
|
||||
version=2.0.4
|
||||
revision=2
|
||||
version=2.1.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--datadir=/usr/share/kbd --localedir=/usr/share/kbd/locale"
|
||||
hostmakedepends="automake libtool gettext-devel flex pkg-config"
|
||||
|
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|||
license="GPL-2.0-or-later"
|
||||
homepage="http://www.kbd-project.org/"
|
||||
distfiles="${KERNEL_SITE}/utils/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||
checksum=5fd90af6beb225a9bb9b9fb414c090fba53c9a55793e172f508cd43652e59a88
|
||||
checksum=6740e896b9fe62b7234ff64e4b41cf5f3e1c3a4032cbd963eefebe04f2457cc1
|
||||
|
||||
pre_configure() {
|
||||
# Rename keymap files with the same names
|
||||
|
@ -22,7 +22,6 @@ pre_configure() {
|
|||
mv data/keymaps/i386/qwertz/cz{,-qwertz}.map
|
||||
mv data/keymaps/i386/olpc/es{,-olpc}.map
|
||||
mv data/keymaps/i386/olpc/pt{,-olpc}.map
|
||||
mv data/keymaps/i386/dvorak/no{,-dvorak}.map
|
||||
mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
|
||||
mv data/keymaps/i386/colemak/{en-latin9,colemak}.map
|
||||
|
||||
|
|
Loading…
Reference in a new issue