summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-20 13:46:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-20 13:46:36 +0000
commit8e79cf434b091a26c095826549e3845960c8e808 (patch)
tree35fd62d91c7361368b2326fc35c9123c74b53b20 /media-libs/zvbi/files
parentChange virtual/ruby to dev-lang/ruby, bug 265054. (diff)
downloadgentoo-2-8e79cf434b091a26c095826549e3845960c8e808.tar.gz
gentoo-2-8e79cf434b091a26c095826549e3845960c8e808.tar.bz2
gentoo-2-8e79cf434b091a26c095826549e3845960c8e808.zip
Fix building with recent glibc wrt #333621 by Charlie Gehlin.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/zvbi/files')
-rw-r--r--media-libs/zvbi/files/zvbi-0.2.33-glibc212.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/zvbi/files/zvbi-0.2.33-glibc212.patch b/media-libs/zvbi/files/zvbi-0.2.33-glibc212.patch
new file mode 100644
index 000000000000..cadf8d1c7b99
--- /dev/null
+++ b/media-libs/zvbi/files/zvbi-0.2.33-glibc212.patch
@@ -0,0 +1,32 @@
+http://bugs.gentoo.org/333621
+
+--- contrib/ntsc-cc.c
++++ contrib/ntsc-cc.c
+@@ -34,6 +34,7 @@
+ #include <locale.h>
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
++#include <sys/stat.h>
+ #include <sys/time.h>
+ #ifdef HAVE_GETOPT_LONG
+ # include <getopt.h>
+--- src/io-dvb.c
++++ src/io-dvb.c
+@@ -29,6 +29,7 @@
+ #include <errno.h>
+ #include <sys/select.h>
+ #include <sys/ioctl.h>
++#include <sys/stat.h>
+
+ #ifndef HAVE_S64_U64
+ /* Linux 2.6.x asm/types.h defines __s64 and __u64 only
+--- src/io-v4l.c
++++ src/io-v4l.c
+@@ -42,6 +42,7 @@
+ #include <assert.h>
+ #include <sys/time.h> /* timeval */
+ #include <sys/types.h> /* fd_set, uid_t */
++#include <sys/stat.h>
+ #include <sys/ioctl.h> /* for (_)videodev.h */
+ #include <pthread.h>
+