Do not include linux/compiler.h, it seems to be unused but causes build

problems on ia64 (at least).
This commit is contained in:
prockai 2006-07-12 11:40:53 +00:00
parent 18a69275cd
commit eaf65821d6
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- brltty-3.7.2/Programs/usb_linux.c.linux-compiler-h 2006-07-12 13:27:57.000000000 +0200
+++ brltty-3.7.2/Programs/usb_linux.c 2006-07-12 13:27:28.000000000 +0200
@@ -30,7 +30,7 @@
#include <sys/stat.h>
#include <sys/vfs.h>
#include <sys/ioctl.h>
-#include <linux/compiler.h>
+// #include <linux/compiler.h>
#include <linux/usbdevice_fs.h>
#ifndef USBDEVFS_DISCONNECT

View File

@ -5,6 +5,7 @@ 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
BuildRoot: %{_tmppath}/%{name}-%{version}-InstallRoot
Summary: Braille display driver for Linux/Unix.
Requires(post): coreutils
@ -51,6 +52,7 @@ which directly accesses a refreshable braille display.
%prep
%setup -n brltty-3.7.2
%patch0 -p1 -b .linux-compiler-h
%build
%configure --with-install-root="${RPM_BUILD_ROOT}" --with-braille-driver=-tt