]> git.pld-linux.org Git - packages/brltty.git/commitdiff
- fix fstat(2) usage
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 29 Jul 2010 12:23:02 +0000 (12:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    brltty-stat.patch -> 1.1
    brltty.spec -> 1.41

brltty-stat.patch [new file with mode: 0644]
brltty.spec

diff --git a/brltty-stat.patch b/brltty-stat.patch
new file mode 100644 (file)
index 0000000..fe095a8
--- /dev/null
@@ -0,0 +1,12 @@
+--- brltty-4.2/Programs/sys_linux.c~   2010-05-07 07:10:01.000000000 +0200
++++ brltty-4.2/Programs/sys_linux.c    2010-07-29 14:21:58.187188698 +0200
+@@ -24,6 +24,9 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <linux/kd.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <unistd.h>
+ #ifdef HAVE_LINUX_INPUT_H
+ #include <linux/input.h>
index f9d5e51981f3e3582c0008ad1aba029853e32dfc..86860fa5e695fd3ddd9c9803bd08bf7ced395121 100644 (file)
@@ -35,7 +35,7 @@ Group:                Daemons
 License:       GPL
 Source0:       http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
 # Source0-md5: 192af5e634210616928496645e392097
-Patch0:                %{name}-ac.patch
+Patch0:                %{name}-stat.patch
 URL:           http://mielke.cc/brltty/
 BuildRequires: at-spi-devel
 BuildRequires: autoconf >= 2.62
@@ -194,7 +194,7 @@ Biblioteka BrlAPI dla Tcl.
 
 %prep
 %setup -q
-#%patch0 -p1
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.11972 seconds and 4 git commands to generate.