public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/vigra/files: vigra-1.8.0-gcc47.patch
@ 2012-08-24 22:05 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2012-08-24 22:05 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/08/24 22:05:44

  Added:                vigra-1.8.0-gcc47.patch
  Log:
  Fix build with gcc-4.7, thanks dev-zero
  
  (Portage version: 2.2.0_alpha122/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-libs/vigra/files/vigra-1.8.0-gcc47.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/files/vigra-1.8.0-gcc47.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/files/vigra-1.8.0-gcc47.patch?rev=1.1&content-type=text/plain

Index: vigra-1.8.0-gcc47.patch
===================================================================
From 11113f8f5ffa868e32259e8d6dcdb543fd58848b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
Date: Mon, 11 Jun 2012 08:33:06 +0200
Subject: [PATCH] Fix building with gcc-4.7

---
 include/vigra/numpy_array.hxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vigra/numpy_array.hxx b/include/vigra/numpy_array.hxx
index 1d06a79..7806f6b 100644
--- a/include/vigra/numpy_array.hxx
+++ b/include/vigra/numpy_array.hxx
@@ -1074,7 +1074,7 @@ void NumpyArray<N, T, Stride>::setupArrayView()
 
         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).");
 
     }
-- 
1.7.8.6






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-24 22:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-24 22:05 [gentoo-commits] gentoo-x86 commit in media-libs/vigra/files: vigra-1.8.0-gcc47.patch Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox