summaryrefslogtreecommitdiffstats
path: root/abs/core/klibc-kbd
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/klibc-kbd
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/klibc-kbd')
-rw-r--r--abs/core/klibc-kbd/PKGBUILD11
-rw-r--r--abs/core/klibc-kbd/no-fflush.patch14
2 files changed, 21 insertions, 4 deletions
diff --git a/abs/core/klibc-kbd/PKGBUILD b/abs/core/klibc-kbd/PKGBUILD
index 8c4e0db..9b232ce 100644
--- a/abs/core/klibc-kbd/PKGBUILD
+++ b/abs/core/klibc-kbd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 1645 2008-05-14 12:09:34Z thomas $
+# $Id: PKGBUILD 23614 2009-01-11 14:10:20Z thomas $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=klibc-kbd
pkgver=1.15.20080312
-pkgrel=15
+pkgrel=30
pkgdesc="Keytable files and keyboard utilities"
arch=('i686' 'x86_64')
url="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
@@ -14,19 +14,22 @@ source=(ftp://ftp.archlinux.org/other/kbd/kbd-$pkgver.tar.gz
#ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-${pkgver}.tar.gz
no-isatty.patch
no-exit.patch
+ no-fflush.patch
keymap_install
keymap_hook)
md5sums=('709b087bb9d6c073bade70eda2da7770'
'53e9612ac5fc1b23601f793410742ed3'
'8c1bec330e8c98355502ac861561667d'
+ '8310d1a6cc72b5827898d0e9e29824ab'
'735d7268f567deee4db3bed951a8303a'
'85457e44dfd7046224e87f0add8da4b2')
build() {
cd ${startdir}/src
#cd ${startdir}/src/kbd-${pkgver}
- patch -Np1 -i ../no-isatty.patch
- patch -Np1 -i ../no-exit.patch
+ patch -Np1 -i no-isatty.patch || return 1
+ patch -Np1 -i no-exit.patch || return 1
+ patch -Np1 -i no-fflush.patch || return 1
aclocal
autoconf
diff --git a/abs/core/klibc-kbd/no-fflush.patch b/abs/core/klibc-kbd/no-fflush.patch
new file mode 100644
index 0000000..1a2bd78
--- /dev/null
+++ b/abs/core/klibc-kbd/no-fflush.patch
@@ -0,0 +1,14 @@
+diff -Nur src.orig/src/klibc_compat.c src/src/klibc_compat.c
+--- src.orig/src/klibc_compat.c 2008-03-12 01:56:14.000000000 +0100
++++ src/src/klibc_compat.c 2008-09-15 18:59:31.000000000 +0200
+@@ -18,10 +18,6 @@
+ return (errno != 0 && errno != EOF);
+ }
+
+-int fflush(FILE *stream) {
+- return 0;
+-}
+-
+ int ungetc(int c, FILE *stream) {
+ if (fseek(stream, -1, SEEK_CUR) < 0)
+ return EOF;