From owner-freebsd-ports@FreeBSD.ORG Fri Oct 3 17:40:26 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E636AD61; Fri, 3 Oct 2014 17:40:26 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id BED9BD7F; Fri, 3 Oct 2014 17:40:26 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 7B21C33C46; Fri, 3 Oct 2014 13:40:25 -0400 (EDT) From: Lowell Gilbert To: Manfred Antar Subject: Re: Xtide Broken on X86 X64 current References: <201410021826.s92IQ52J017427@pozo.com> <20141002210246.GA10548@spectrum.skysmurf.nl> <201410030223.s932NVKp010278@pozo.com> Date: Fri, 03 Oct 2014 13:40:25 -0400 In-Reply-To: <201410030223.s932NVKp010278@pozo.com> (Manfred Antar's message of "Thu, 02 Oct 2014 19:23:31 -0700") Message-ID: <44vbo1yrue.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: ports@freebsd.org, brion@queeg.com, marino@freebsd.org, cs@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2014 17:40:27 -0000 Manfred Antar writes: > I've done more research on this. Mac OSX has a patch so this will compile with clang without errors. > This is probably the best for current as clang is default compiler. > This patch from OSX works on 11.0 current Interesting. The patch is basically setting a compiler flag for version of the C++ standard that the file is assumed to meet. Given that I don't need such a patch to build the port with GCC *or* clang on my build machine which is running the latest 10.x, a test build on all of the supported platforms and versions would be a good idea before committing. The port's maintainer will be able to do that. > You have to remove USE_GCC line from Makefile > the patch patches configure.ac > so if you try to make without doing a autoconf in the src dir it will fail > so do make; it will fail; go to xtide src do autoconf; I think the normal syntax to have a port do that is USE_AUTOTOOLS= autoconf > then retry make, it will work. > you could make a patch to the new configure script and it will work fine. > Hope this all make some sense :) It does, but the still should get more testing to make sure it doesn't break other platforms or versions of FreeBSD. Be well.