From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 6 13:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A7EFD874 for ; Sun, 6 Oct 2013 13:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6DA7228DD for ; Sun, 6 Oct 2013 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r96D00c4069853 for ; Sun, 6 Oct 2013 13:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r96D00cp069852; Sun, 6 Oct 2013 13:00:00 GMT (envelope-from gnats) Resent-Date: Sun, 6 Oct 2013 13:00:00 GMT Resent-Message-Id: <201310061300.r96D00cp069852@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, Jean-Sébastien Pédron Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF3925A2 for ; Sun, 6 Oct 2013 12:50:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AD0752874 for ; Sun, 6 Oct 2013 12:50:24 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r96CoOVb036835 for ; Sun, 6 Oct 2013 12:50:24 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r96CoO0c036822; Sun, 6 Oct 2013 12:50:24 GMT (envelope-from nobody) Message-Id: <201310061250.r96CoO0c036822@oldred.freebsd.org> Date: Sun, 6 Oct 2013 12:50:24 GMT From: Jean-Sébastien Pédron To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182742: [PATCH] graphics/hugin: Fix build with Clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2013 13:00:00 -0000 >Number: 182742 >Category: ports >Synopsis: [PATCH] graphics/hugin: Fix build 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: Sun Oct 06 13:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jean-Sébastien Pédron >Release: FreeBSD 10.0-ALPHA4 >Organization: The FreeBSD Project >Environment: FreeBSD magellan.dumbbell.fr 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 f67645e-dirty: Mon Sep 30 20:35:14 CEST 2013 root@magellan.dumbbell.fr:/usr/obj/home/dumbbell/Projects/freebsd/src/GIT/sys/GENERIC amd64 >Description: Hugin doesn't build with Clang on 10-CURRENT. >How-To-Repeat: >Fix: The attached patch should be copied to graphics/hugin/files/, and probably renamed to remove the "ports-hugin-" prefix and ".txt" suffix. Note that I didn't tested this patch with GCC, because it doesn't build with this compiler on 10-CURRENT due to dependencies linked to libc++ (not libstdc++), and I don't have access to a FreeBSD 8/9 box right now. Patch attached with submission follows: --- src/hugin1/icpfind/AutoCtrlPointCreator.cpp.orig 2013-10-06 13:37:06.384336868 +0200 +++ src/hugin1/icpfind/AutoCtrlPointCreator.cpp 2013-10-06 13:38:01.092331533 +0200 @@ -28,7 +28,7 @@ #include "panoinc.h" #include -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) #include #endif >Release-Note: >Audit-Trail: >Unformatted: