summaryrefslogtreecommitdiff
path: root/graphics/vigra
diff options
context:
space:
mode:
authormarino <marino>2011-12-15 18:48:02 +0000
committermarino <marino>2011-12-15 18:48:02 +0000
commitb880fca5d149f4ab93395fde387ca97b52bd1d1e (patch)
treef76e1f98a71351f9ea7fb33d4edcc87088e26b48 /graphics/vigra
parent603aaa4ed7212af8301c5603fffd1920d087b475 (diff)
downloadpkgsrc-b880fca5d149f4ab93395fde387ca97b52bd1d1e.tar.gz
graphics/vigra: Fix copy/paste error on DragonFly patch
Diffstat (limited to 'graphics/vigra')
-rw-r--r--graphics/vigra/distinfo4
-rw-r--r--graphics/vigra/patches/patch-include-vigra-mathutil.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/vigra/distinfo b/graphics/vigra/distinfo
index ca0f29f3e5e..d2295f088a7 100644
--- a/graphics/vigra/distinfo
+++ b/graphics/vigra/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2011/12/15 08:33:44 marino Exp $
+$NetBSD: distinfo,v 1.8 2011/12/15 18:48:02 marino Exp $
SHA1 (vigra-1.8.0-src.tar.gz) = 09f1d506c2748ebeb7d9f1c77ce387f9e7b837d2
RMD160 (vigra-1.8.0-src.tar.gz) = 99d781da6e0ca94ce3404e1bcb3adeb9e43a2017
Size (vigra-1.8.0-src.tar.gz) = 29814914 bytes
-SHA1 (patch-include-vigra-mathutil.hxx) = 80e8645fef1a53ba4d29b23174567e24728e8829
+SHA1 (patch-include-vigra-mathutil.hxx) = d6c6f12f073c9659781eef5fb032c31676c1381d
diff --git a/graphics/vigra/patches/patch-include-vigra-mathutil.hxx b/graphics/vigra/patches/patch-include-vigra-mathutil.hxx
index 142690b6e22..ac0360951f5 100644
--- a/graphics/vigra/patches/patch-include-vigra-mathutil.hxx
+++ b/graphics/vigra/patches/patch-include-vigra-mathutil.hxx
@@ -1,4 +1,4 @@
-$NetBSD: patch-include-vigra-mathutil.hxx,v 1.1 2011/12/15 08:33:44 marino Exp $
+$NetBSD: patch-include-vigra-mathutil.hxx,v 1.2 2011/12/15 18:48:02 marino Exp $
--- include/vigra/mathutil.hxx.orig 2011-12-15 07:07:07.573857000 +0000
+++ include/vigra/mathutil.hxx
@@ -7,7 +7,7 @@ $NetBSD: patch-include-vigra-mathutil.hxx,v 1.1 2011/12/15 08:33:44 marino Exp $
VIGRA_DEFINE_NORM(long)
VIGRA_DEFINE_NORM(unsigned long)
+#if defined(__DragonFly__)
-+inline NormTraits<long long>::SquaredNormType squaredNorm(long long t) { return sq((long int) t); } \
++inline NormTraits<long long>::SquaredNormType squaredNorm(long long t) { return sq((long int) t); }
+inline NormTraits<long long>::NormType norm(long long t) { return abs((long int) t); }
+#else
VIGRA_DEFINE_NORM(long long)