diff --git a/zvbi-0.2.33-stat.patch b/zvbi-0.2.33-stat.patch new file mode 100644 index 0000000..e06381e --- /dev/null +++ b/zvbi-0.2.33-stat.patch @@ -0,0 +1,33 @@ +diff -Nrbu zvbi-0.2.33/contrib/ntsc-cc.c zvbi-0.2.33-OK/contrib/ntsc-cc.c +--- zvbi-0.2.33/contrib/ntsc-cc.c 2007-11-27 20:39:34.000000000 +0300 ++++ zvbi-0.2.33-OK/contrib/ntsc-cc.c 2010-02-21 17:57:17.000000000 +0300 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -Nrbu zvbi-0.2.33/src/io-dvb.c zvbi-0.2.33-OK/src/io-dvb.c +--- zvbi-0.2.33/src/io-dvb.c 2008-02-24 17:18:21.000000000 +0300 ++++ zvbi-0.2.33-OK/src/io-dvb.c 2010-02-21 17:57:32.000000000 +0300 +@@ -27,6 +27,7 @@ + + #include /* read() */ + #include ++#include + #include + #include + +diff -Nrbu zvbi-0.2.33/src/io-v4l.c zvbi-0.2.33-OK/src/io-v4l.c +--- zvbi-0.2.33/src/io-v4l.c 2008-02-24 17:17:28.000000000 +0300 ++++ zvbi-0.2.33-OK/src/io-v4l.c 2010-02-21 17:57:47.000000000 +0300 +@@ -40,6 +40,7 @@ + #include + #include /* read(), dup2(), getuid() */ + #include ++#include + #include /* timeval */ + #include /* fd_set, uid_t */ + #include /* for (_)videodev.h */ diff --git a/zvbi.spec b/zvbi.spec index a04116a..fb8aac2 100644 --- a/zvbi.spec +++ b/zvbi.spec @@ -69,7 +69,7 @@ Fonts from zvbi converted for use with X11 %setup -q %patch0 -p1 %patch1 -p1 -%patch1 -p2 +%patch2 -p1 #Fix character encodings iconv -f iso8859-1 README -t utf8 > README.conv && /bin/mv -f README.conv README