forked from pool/opencv
Accepting request 109883 from KDE:Distro:Factory
Fix build with gcc 4.7 - Please work with upstream to resolve it in upstream code base. There is also a chance that a newer version of the package might have this fixed already. (forwarded request 109787 from dimstar) OBS-URL: https://build.opensuse.org/request/show/109883 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
b7f02a04a1
commit
6d2b25a59f
@@ -39,6 +39,8 @@ Patch2: %{name}-2.3-underlinking.patch
|
||||
Patch3: %{name}-datadir.patch
|
||||
# PATCH-FIX-UPSTREAM opencv-clang.patch idoenmez@suse.de -- Upstream r6881 to fix clang compatibility
|
||||
Patch4: %{name}-clang.patch
|
||||
# PATCH-FIX-UPSTREAM opencv-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7.
|
||||
Patch5: opencv-gcc47.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: OpenEXR-devel
|
||||
BuildRequires: cmake
|
||||
@@ -51,12 +53,12 @@ BuildRequires: libjasper-devel
|
||||
BuildRequires: libqt4-devel
|
||||
#BuildRequires: libucil-devel
|
||||
#BuildRequires: libunicap-devel
|
||||
BuildRequires: libilmbase-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libxine-devel
|
||||
BuildRequires: python-numpy-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libilmbase-devel
|
||||
%if %{with ffmpeg}
|
||||
BuildRequires: libffmpeg-devel
|
||||
%endif
|
||||
@@ -117,6 +119,7 @@ This package contains the documentation and examples for the OpenCV library.
|
||||
%patch2
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
# Windows specific and with wrong end of line
|
||||
rm -f doc/packaging.txt
|
||||
|
Reference in New Issue
Block a user