summaryrefslogtreecommitdiff
path: root/graphics/hugin/patches/patch-src_foreign_vigra_vigra_cachedfileimage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hugin/patches/patch-src_foreign_vigra_vigra_cachedfileimage.hxx')
-rw-r--r--graphics/hugin/patches/patch-src_foreign_vigra_vigra_cachedfileimage.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/hugin/patches/patch-src_foreign_vigra_vigra_cachedfileimage.hxx b/graphics/hugin/patches/patch-src_foreign_vigra_vigra_cachedfileimage.hxx
new file mode 100644
index 00000000000..89fc74730c8
--- /dev/null
+++ b/graphics/hugin/patches/patch-src_foreign_vigra_vigra_cachedfileimage.hxx
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_foreign_vigra_vigra_cachedfileimage.hxx,v 1.1 2013/06/27 15:51:49 joerg Exp $
+
+--- src/foreign/vigra/vigra/cachedfileimage.hxx.orig 2013-06-25 21:58:48.000000000 +0000
++++ src/foreign/vigra/vigra/cachedfileimage.hxx
+@@ -554,11 +554,7 @@ class NotifyingDirectionSelector;
+ template <class T, class Notify>
+ class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify>
+ {
+-#ifdef __GNUC__
+-friend class Notify::self_type;
+-#else
+ friend typename Notify::self_type;
+-#endif
+ protected:
+ NotifyingDirectionSelector(T base = 0) : current_(base), notify_(NULL) {}
+ NotifyingDirectionSelector(NotifyingDirectionSelector const & rhs) : current_(rhs.current_), notify_(NULL) {}