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