Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2013 19:32:08 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Vasil Dimov <vd@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r335410 - head/graphics/hugin/files
Message-ID:  <20131201193208.2c5b5107@kalimero.tijl.coosemans.org>
In-Reply-To: <201312011744.rB1HiwcM036760@svn.freebsd.org>
References:  <201312011744.rB1HiwcM036760@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Dec 2013 17:44:58 +0000 (UTC) Vasil Dimov wrote:
> Author: vd
> Date: Sun Dec  1 17:44:58 2013
> New Revision: 335410
> URL: http://svnweb.freebsd.org/changeset/ports/335410
> 
> Log:
>   Fix graphics/hugin build with clang.
>   
>   PR:		ports/182742
>   Submitted by:	dumbbell@
> 
> Added:
>   head/graphics/hugin/files/patch-src__hugin1__icpfind__AutoCtrlPointCreator.cpp   (contents, props changed)
> 
> Added: head/graphics/hugin/files/patch-src__hugin1__icpfind__AutoCtrlPointCreator.cpp
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/graphics/hugin/files/patch-src__hugin1__icpfind__AutoCtrlPointCreator.cpp	Sun Dec  1 17:44:58 2013	(r335410)
> @@ -0,0 +1,11 @@
> +--- src/hugin1/icpfind/AutoCtrlPointCreator.cpp.orig	2013-12-01 19:41:03.000000000 +0200
> ++++ src/hugin1/icpfind/AutoCtrlPointCreator.cpp	2013-12-01 19:41:25.000000000 +0200
> +@@ -28,7 +28,7 @@
> + #include "panoinc.h"
> + 
> + #include <fstream>
> +-#ifdef __GNUC__
> ++#if defined(__GNUC__) && !defined(__clang__)
> + #include <ext/stdio_filebuf.h>
> + #endif
> + 

This looks like an issue with libc++, not clang.  So you should use
!defined(_LIBCPP_VERSION) instead of !defined(__clang__).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131201193208.2c5b5107>