diff --git a/brltty-3.7.2-vt-buildfix.patch b/brltty-3.7.2-vt-buildfix.patch new file mode 100644 index 0000000..aacf3f2 --- /dev/null +++ b/brltty-3.7.2-vt-buildfix.patch @@ -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 +-#include ++#include + #define MAXIMUM_VIRTUAL_CONSOLE MAX_NR_CONSOLES + #endif /* linux */ + diff --git a/brltty.spec b/brltty.spec index e4292c9..3ad12b3 100644 --- a/brltty.spec +++ b/brltty.spec @@ -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 - 3.7.2-1.1 +- fix building with newer kernel-headers (#224149) + * Wed Jul 12 2006 Petr Rockai - 3.7.2-1 - upgrade to latest upstream version - split off brlapi and brlapi-devel packages