Date: Sat, 18 Aug 2012 20:23:00 GMT From: Heath Nielson <heathn@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/170758: [PATCH] graphics/hugin doesn't compile with clang Message-ID: <201208182023.q7IKN0lH010999@red.freebsd.org> Resent-Message-ID: <201208182030.q7IKU7pG097113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170758 >Category: ports >Synopsis: [PATCH] graphics/hugin doesn't compile with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 18 20:30:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Heath Nielson >Release: FreeBSD 9.0-STABLE >Organization: >Environment: FreeBSD twix.bar.net 9.0-STABLE FreeBSD 9.0-STABLE #16: Sat Jun 30 16:10:00 MDT 2012 heath@twix.bar.net:/usr/obj/usr/src/sys/TWIX amd64 >Description: Building the hugin project with clang results in the following error: cd /usr/ports/graphics/hugin/work/hugin-2011.4.0/src/tools && /usr/bin/clang++ -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -I/usr/ports/graphics/hugin/work/hugin-2011.4.0/src -I/usr/ports/graphics/hugin/work/hugin-2011.4.0/src/hugin_base -I/usr/ports/graphics/hugin/work/hugin-2011.4.0/src/foreign -I/usr/ports/graphics/hugin/work/hugin-2011.4.0/src/foreign/vigra -I/usr/ports/graphics/hugin/work/hugin-2011.4.0/src/celeste -I/usr/local/include -I/usr/local/include/OpenEXR -o CMakeFiles/hugin_hdrmerge.dir/hugin_hdrmerge.cpp.o -c /usr/ports/graphics/hugin/work/hugin-2011.4.0/src/tools/hugin_hdrmerge.cpp In file included from /usr/ports/graphics/hugin/work/hugin-2011.4.0/src/tools/hugin_hdrmerge.cpp:56: In file included from /usr/ports/graphics/hugin/work/hugin-2011.4.0/src/tools/../deghosting/khan.h:56: /usr/ports/graphics/hugin/work/hugin-2011.4.0/src/foreign/vigra/vigra/cachedfileimage.hxx:558:22: error: elaborated type refers to a typedef friend class Notify::self_type; ^ >How-To-Repeat: cd /usr/ports/graphics/hugin make install >Fix: Patch is attached Patch attached with submission follows: --- src/foreign/vigra/vigra/cachedfileimage.hxx.orig 2012-08-18 09:22:30.000000000 -0600 +++ src/foreign/vigra/vigra/cachedfileimage.hxx 2012-08-18 09:33:40.000000000 -0600 @@ -555,7 +555,7 @@ class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify> { #ifdef __GNUC__ -friend class Notify::self_type; +friend class Notify::CachedFileImageIteratorBase; #else friend typename Notify::self_type; #endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208182023.q7IKN0lH010999>