From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 18 20:30:07 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDBF51065670 for ; Sat, 18 Aug 2012 20:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 91AF88FC15 for ; Sat, 18 Aug 2012 20:30:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7IKU7UY097114 for ; Sat, 18 Aug 2012 20:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7IKU7pG097113; Sat, 18 Aug 2012 20:30:07 GMT (envelope-from gnats) Resent-Date: Sat, 18 Aug 2012 20:30:07 GMT Resent-Message-Id: <201208182030.q7IKU7pG097113@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Heath Nielson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06EA3106564A for ; Sat, 18 Aug 2012 20:23:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E69778FC08 for ; Sat, 18 Aug 2012 20:23:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7IKN0Sm011000 for ; Sat, 18 Aug 2012 20:23:00 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7IKN0lH010999; Sat, 18 Aug 2012 20:23:00 GMT (envelope-from nobody) Message-Id: <201208182023.q7IKN0lH010999@red.freebsd.org> Date: Sat, 18 Aug 2012 20:23:00 GMT From: Heath Nielson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170758: [PATCH] graphics/hugin doesn't compile with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 20:30:07 -0000 >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 { #ifdef __GNUC__ -friend class Notify::self_type; +friend class Notify::CachedFileImageIteratorBase; #else friend typename Notify::self_type; #endif >Release-Note: >Audit-Trail: >Unformatted: