Accepting request 214181 from KDE:Extra

- Fix build with altivec:
  opencv-altivec-vector.patch (forwarded request 214130 from k0da)

OBS-URL: https://build.opensuse.org/request/show/214181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=48
This commit is contained in:
Stephan Kulow
2014-01-19 20:42:03 +00:00
committed by Git OBS Bridge
parent 2b1552364b
commit 13a9870924
3 changed files with 35 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package opencv
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -37,7 +37,9 @@ Patch2: %{name}-underlinking.patch
Patch3: improve-sphinx-search.diff
# PATCH-FIX-UPSTREAM opencv-pkgconfig.patch -- Make sure to provide link flags in OpenCV pc file (bnc#853036). Issue is exposed when e.g. a project relies on
# getting opencv vars via pc (first), and then via CMake, as is the case with nomacs
# PATCH-FIX-UPSTREAM opencv-altivec-vector.patch -- use __vector for altivec. https://github.com/Itseez/opencv/pull/2157
Patch4: opencv-pkgconfig.patch
Patch5: opencv-altivec-vector.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gstreamer-0_10-plugins-base-devel
@@ -124,6 +126,7 @@ This package contains the documentation and examples for the OpenCV library.
%patch2 -p1
%patch3 -p0
%patch4 -p1
%patch5 -p1
# Remove Windows specific files
rm -f doc/packaging.txt