summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/dvgrab/files/dvgrab-3.4-gcc44.patch')
-rw-r--r--media-video/dvgrab/files/dvgrab-3.4-gcc44.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-video/dvgrab/files/dvgrab-3.4-gcc44.patch b/media-video/dvgrab/files/dvgrab-3.4-gcc44.patch
new file mode 100644
index 000000000000..308399f3c796
--- /dev/null
+++ b/media-video/dvgrab/files/dvgrab-3.4-gcc44.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/show_bug.cgi?id=272851
+Fix build with gcc 4.4
+Author: hirakendu <hirakendu@gmail.com>
+Upstream status: unknown
+
+diff -ruN dvgrab-3.4.orig/error.cc dvgrab-3.4.new/error.cc
+--- dvgrab-3.4.orig/error.cc 2007-07-06 12:04:24.000000000 -0700
++++ dvgrab-3.4.new/error.cc 2009-06-05 22:37:27.000000000 -0700
+@@ -23,6 +23,7 @@
+
+ // C includes
+
++#include <stdio.h>
+ #include <errno.h>
+ #include <string.h>
+
+diff -ruN dvgrab-3.4.orig/smiltime.cc dvgrab-3.4.new/smiltime.cc
+--- dvgrab-3.4.orig/smiltime.cc 2008-11-25 19:41:39.000000000 -0800
++++ dvgrab-3.4.new/smiltime.cc 2009-06-05 22:37:34.000000000 -0700
+@@ -28,6 +28,7 @@
+ #include <iomanip>
+ #include <sstream>
+
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <math.h>
+