From b880fca5d149f4ab93395fde387ca97b52bd1d1e Mon Sep 17 00:00:00 2001 From: marino Date: Thu, 15 Dec 2011 18:48:02 +0000 Subject: graphics/vigra: Fix copy/paste error on DragonFly patch --- graphics/vigra/distinfo | 4 ++-- graphics/vigra/patches/patch-include-vigra-mathutil.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/vigra') 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::SquaredNormType squaredNorm(long long t) { return sq((long int) t); } \ ++inline NormTraits::SquaredNormType squaredNorm(long long t) { return sq((long int) t); } +inline NormTraits::NormType norm(long long t) { return abs((long int) t); } +#else VIGRA_DEFINE_NORM(long long) -- cgit v1.2.3