Do not include linux/compiler.h, it seems to be unused but causes build
problems on ia64 (at least).
This commit is contained in:
parent
18a69275cd
commit
eaf65821d6
11
brltty-3.7.2-linux-compiler-h.patch
Normal file
11
brltty-3.7.2-linux-compiler-h.patch
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user