public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: re-enable testing on CMake build system fix memory corruption in the
Date: Fri, 28 Aug 2026 13:29:50 GMT [thread overview]
Message-ID: <178792379070.1.12131244923896553846.rpms-opencv-58a2e157fbb2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 58a2e157fbb2fc9f331f4964d0ccc84846a1b8d3
Author : Karel Klíč <kklic@fedoraproject.org>
Date : 2010-03-09T09:08:59+00:00
Stats : +21/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/58a2e157fbb2fc9f331f4964d0ccc84846a1b8d3?branch=opencv5
Log:
re-enable testing on CMake build system fix memory corruption in the
gaussian random number generator
---
diff --git a/opencv-2.0.0-gaussianrng.patch b/opencv-2.0.0-gaussianrng.patch
new file mode 100644
index 0000000..38ca720
--- /dev/null
+++ b/opencv-2.0.0-gaussianrng.patch
@@ -0,0 +1,11 @@
+--- trunk/opencv/src/cxcore/cxrand.cpp 2009/11/13 13:53:03 2281
++++ trunk/opencv/src/cxcore/cxrand.cpp 2009/11/13 14:55:04 2282
+@@ -303,7 +303,7 @@
+ {
+ const float r = 3.442620f; // The start of the right tail
+ const float rng_flt = 2.3283064365386962890625e-10f; // 2^-32
+- static unsigned kn[127];
++ static unsigned kn[128];
+ static float wn[128], fn[128];
+ uint64 temp = *state;
+ static bool initialized=false;
diff --git a/opencv.spec b/opencv.spec
index 45dbadb..5fb0079 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -4,7 +4,7 @@
Name: opencv
Version: 2.0.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Collection of algorithms for computer vision
Group: Development/Libraries
@@ -15,6 +15,9 @@ Source0: http://prdownloads.sourceforge.net/opencvlibrary/%{tar_name}-%{v
Source1: opencv-samples-Makefile
# Fedora cmake macros define -DLIB_SUFFIX=64 on 64 bits platforms
Patch0: opencv-cmake-libdir.patch
+# Fixes memory corruption in the gaussian random number generator.
+# Fixed in the revision 2282 of the upstream svn repository.
+Patch1: opencv-2.0.0-gaussianrng.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool
@@ -129,8 +132,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/opencv/{doc/,samples/octave/}
%check
# Check fails since we don't support most video
# read/write capability and we don't provide a display
+# ARGS=-V increases output verbosity
%ifnarch ppc64
- make check || :
+ LD_LIBRARY_PATH=%{_builddir}/%{tar_name}-%{version}/lib:$LD_LIBARY_PATH make test ARGS=-V || :
%endif
%clean
@@ -179,6 +183,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Mar 08 2010 Karel Klic <kklic@redhat.com> - 2.0.0-8
+- re-enable testing on CMake build system
+- fix memory corruption in the gaussian random number generator
+
* Sat Feb 27 2010 Haïkel Guémar <karlthered@gmail.com> - 2.0.0-7
- replaced BR unicap-devel by libucil-devel (unicap split)
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=178792379070.1.12131244923896553846.rpms-opencv-58a2e157fbb2@fedoraproject.org \
--to=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