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