- fix building with newer kernel-headers (#224149)

This commit is contained in:
Tomas Janousek 2007-01-25 11:05:26 +00:00
parent 5b800bd0d0
commit 96dcaf2751
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- brltty-3.7.2/Programs/api_client.c.vt-buildfix 2005-12-26 13:57:11.000000000 +0100
+++ brltty-3.7.2/Programs/api_client.c 2007-01-25 11:54:44.000000000 +0100
@@ -74,7 +74,7 @@
#ifdef linux
#include <linux/major.h>
-#include <linux/tty.h>
+#include <linux/vt.h>
#define MAXIMUM_VIRTUAL_CONSOLE MAX_NR_CONSOLES
#endif /* linux */

View File

@ -1,11 +1,12 @@
Name: brltty
Version: 3.7.2
Release: 1%{?dist}
Release: 1.1%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://mielke.cc/brltty/
Source: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
Patch0: brltty-3.7.2-linux-compiler-h.patch
Patch1: brltty-3.7.2-vt-buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-InstallRoot
Summary: Braille display driver for Linux/Unix.
Requires(post): coreutils
@ -53,6 +54,7 @@ which directly accesses a refreshable braille display.
%prep
%setup -n brltty-3.7.2
%patch0 -p1 -b .linux-compiler-h
%patch1 -p1 -b .vt-buildfix
%build
%configure --with-install-root="${RPM_BUILD_ROOT}" --with-braille-driver=-tt
@ -122,6 +124,9 @@ fi
%doc Documents/BrlAPIref-HTML
%changelog
* Thu Jan 25 2007 Tomas Janousek <tjanouse@redhat.com> - 3.7.2-1.1
- fix building with newer kernel-headers (#224149)
* Wed Jul 12 2006 Petr Rockai <prockai@redhat.com> - 3.7.2-1
- upgrade to latest upstream version
- split off brlapi and brlapi-devel packages