Date: Sun, 6 Oct 2013 12:50:24 GMT From: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182742: [PATCH] graphics/hugin: Fix build with Clang Message-ID: <201310061250.r96CoO0c036822@oldred.freebsd.org> Resent-Message-ID: <201310061300.r96D00cp069852@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <fstream> -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) #include <ext/stdio_filebuf.h> #endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310061250.r96CoO0c036822>