From eaf65821d6c9507a665b53197cc0b32de039e6f9 Mon Sep 17 00:00:00 2001 From: prockai Date: Wed, 12 Jul 2006 11:40:53 +0000 Subject: [PATCH] Do not include linux/compiler.h, it seems to be unused but causes build problems on ia64 (at least). --- brltty-3.7.2-linux-compiler-h.patch | 11 +++++++++++ brltty.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 brltty-3.7.2-linux-compiler-h.patch diff --git a/brltty-3.7.2-linux-compiler-h.patch b/brltty-3.7.2-linux-compiler-h.patch new file mode 100644 index 0000000..a056aba --- /dev/null +++ b/brltty-3.7.2-linux-compiler-h.patch @@ -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 + #include + #include +-#include ++// #include + #include + + #ifndef USBDEVFS_DISCONNECT diff --git a/brltty.spec b/brltty.spec index d5043d5..7f72264 100644 --- a/brltty.spec +++ b/brltty.spec @@ -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