svn commit: r335410 - head/graphics/hugin/files

Tijl Coosemans tijl at FreeBSD.org
Sun Dec 1 18:33:21 UTC 2013


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__).


More information about the svn-ports-all mailing list