summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeedu/tdeedu-14.0.1-ftbfs.patch
blob: 732ffe88f72f62a2ae2fcdd8f592304b5819bf29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- trinity-tdeedu-14.0.1/kstars/configure.in.in.orig	2015-07-31 11:34:32.712141661 -0400
+++ trinity-tdeedu-14.0.1/kstars/configure.in.in	2015-07-31 11:35:49.442314137 -0400
@@ -87,7 +87,9 @@
                         [have_v4l2=true],
 	                [have_v4l2=false],
 		        [#include <sys/time.h>
-		         #include <linux/videodev2.h>])
+                         extern "C" {
+		         #include <linux/videodev2.h>
+                        }])
           if test x$have_v4l2 = xfalse; then
             unset ac_cv_type_struct_v4l2_buffer
 	    AC_CHECK_TYPE([struct v4l2_buffer],