public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Fix double FTBFS
Date: Fri, 28 Aug 2026 13:29:56 GMT [thread overview]
Message-ID: <178792379671.1.13525052680452997112.rpms-opencv-c3d15c74946e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : c3d15c74946e752b2eb3712c4cd402b3f5d66fb3
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2011-02-04T15:27:54+01:00
Stats : +13/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/c3d15c74946e752b2eb3712c4cd402b3f5d66fb3?branch=opencv5
Log:
Fix double FTBFS
---
diff --git a/OpenCV-2.2-nov4l1.patch b/OpenCV-2.2-nov4l1.patch
index 3cedf72..cacdd77 100644
--- a/OpenCV-2.2-nov4l1.patch
+++ b/OpenCV-2.2-nov4l1.patch
@@ -5,9 +5,21 @@ diff -up OpenCV-2.2.0/modules/highgui/src/cap_v4l.cpp.nov4l1 OpenCV-2.2.0/module
#include <sys/types.h>
#include <sys/mman.h>
-+#ifdef HAVE_LINUX_VIDEODEV_H
++#ifdef HAVE_CAMV4L
#include <linux/videodev.h>
+#endif
#include <string.h>
#include <stdlib.h>
+diff -up OpenCV-2.2.0/modules/highgui/src/cap.cpp.nov4l1 OpenCV-2.2.0/modules/highgui/src/cap.cpp
+--- OpenCV-2.2.0/modules/highgui/src/cap.cpp.nov4l1 2011-02-04 15:10:51.461243999 +0100
++++ OpenCV-2.2.0/modules/highgui/src/cap.cpp 2011-02-04 15:11:22.040244001 +0100
+@@ -171,7 +171,7 @@ CV_IMPL CvCapture * cvCreateCameraCaptur
+ if (capture)
+ return capture;
+ #endif
+- #if defined (HAVE_CAMV4L) || defined (HAVE_CAMV4L2)
++ #if defined (HAVE_CAMV4L)
+ capture = cvCreateCameraCapture_V4L (index);
+ if (capture)
+ return capture;
diff --git a/opencv.spec b/opencv.spec
index 68bba8f..ac80a38 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -247,7 +247,6 @@ rm -rf $RPM_BUILD_ROOT
* Wed Feb 02 2011 Nicolas Chauvet <kwizart@gmail.com> - 2.2.0-2
- Fix with gcc46
- Disable V4L as V4L1 is disabled for Fedora 15
- This still needs work to escape from FTBFS
* Thu Jan 06 2011 Nicolas Chauvet <kwizart@gmail.com> - 2.2.0-1
- Update to 2.2.0
reply other threads:[~2026-08-28 13:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178792379671.1.13525052680452997112.rpms-opencv-c3d15c74946e@fedoraproject.org \
--to=kwizart@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox