diff options
Diffstat (limited to 'abs/core-testing/klibc-kbd')
-rw-r--r-- | abs/core-testing/klibc-kbd/PKGBUILD | 11 | ||||
-rw-r--r-- | abs/core-testing/klibc-kbd/no-fflush.patch | 14 |
2 files changed, 21 insertions, 4 deletions
diff --git a/abs/core-testing/klibc-kbd/PKGBUILD b/abs/core-testing/klibc-kbd/PKGBUILD index 8c4e0db..89116e2 100644 --- a/abs/core-testing/klibc-kbd/PKGBUILD +++ b/abs/core-testing/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=8 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-testing/klibc-kbd/no-fflush.patch b/abs/core-testing/klibc-kbd/no-fflush.patch new file mode 100644 index 0000000..1a2bd78 --- /dev/null +++ b/abs/core-testing/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; |