--- /dev/null
+diff -ru vigra-1.8.0/include/vigra/numpy_array.hxx vigra-1.8.0.new/include/vigra/numpy_array.hxx
+--- vigra-1.8.0/include/vigra/numpy_array.hxx 2011-09-20 19:38:36.000000000 +0100
++++ vigra-1.8.0.new/include/vigra/numpy_array.hxx 2012-02-27 21:03:54.000000000 +0000
+@@ -1074,7 +1074,7 @@
+
+ this->m_stride /= sizeof(value_type);
+ this->m_ptr = reinterpret_cast<pointer>(pyArray()->data);
+- vigra_precondition(checkInnerStride(Stride()),
++ vigra_precondition(this->checkInnerStride(Stride()),
+ "NumpyArray<..., UnstridedArrayTag>::setupArrayView(): First dimension of given array is not unstrided (should never happen).");
+
+ }
Summary(pl.UTF-8): Ogólne programowanie obrazu komputerowego
Name: vigra
Version: 1.8.0
-Release: 7
+Release: 8
License: MIT
Group: Libraries
Source0: http://hci.iwr.uni-heidelberg.de/vigra/%{name}-%{version}-src.tar.gz
# Source0-md5: 15c5544448e529ee60020758ab6be264
URL: http://hci.iwr.uni-heidelberg.de/vigra/
-Patch0: vigra-1.8.0.lib_suffix.patch
+Patch0: %{name}-lib_suffix.patch
+Patch1: %{name}-gcc47.patch
BuildRequires: boost-python-devel >= 1.40.0
BuildRequires: cmake >= 2.6.0
BuildRequires: doxygen
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%cmake . \