From owner-freebsd-ports@FreeBSD.ORG Fri Oct 3 02:23:43 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 31E3930C; Fri, 3 Oct 2014 02:23:43 +0000 (UTC) Received: from pozo.com (pozo.com [50.197.129.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pozo.com", Issuer "pozo.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 10ABA394; Fri, 3 Oct 2014 02:23:42 +0000 (UTC) Received: from T61p.pozo.com (t61p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.9/8.14.9) with ESMTP id s932NVKp010278 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT); Thu, 2 Oct 2014 19:23:32 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <201410030223.s932NVKp010278@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 02 Oct 2014 19:23:31 -0700 To: "A.J. 'Fonz' van Werven" From: Manfred Antar Subject: Re: Xtide Broken on X86 X64 current In-Reply-To: <20141002210246.GA10548@spectrum.skysmurf.nl> References: <201410021826.s92IQ52J017427@pozo.com> <20141002210246.GA10548@spectrum.skysmurf.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_366455755==_" X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,MISSING_MID, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0, No X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: s932NVKp010278 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com Cc: ports@freebsd.org, marino@freebsd.org, brion@queeg.com 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 02:23:43 -0000 --=====================_366455755==_ Content-Type: text/plain; charset="us-ascii" At 02:02 PM 10/2/2014, A.J. 'Fonz' van Werven wrote: >Manfred Antar wrote: > >[begin (sic)] >> /usr/ports/astro/xtide doesn't complie on amd64 or i386 current for me >> It uses /usr/local/bin/gcc48 for compiler. >[snip] >> If you: >> vi ./work/xtide-2.13.2/xxGlobal.cc >> >> and add to top of file: >> extern "C" int isnan (double); >> >> It will compile. >[end (sic)] > >Update: > >I checked this port on Redports with the X11 option enabled for releases >8.4 to 9.3 with gcc48, both amd64 and i386. I also checked it locally on >9.3/amd64 with Clang. In all of those instances the port builds fine both >with and without your suggested fix(*). > >You might want to ask whether someone can test it on 10.X and/or >11-CURRENT, possibly using Poudriere (which seems to be the only thing >that's reliably working at the moment, quelle surprise). I'm including a >patch that does what you suggest and can be used for testing. If it turns >out to be the correct fix, you can attach it to a Bugzilla report if you >choose to submit one. Ok 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 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; 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 :) ======================== || null@pozo.com || || || ======================== -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --=====================_366455755==_ Content-Type: application/octet-stream; name="patch-configure.ac" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-configure.ac" LS0tIGNvbmZpZ3VyZS5hYy5vcmlnCTIwMTMtMDctMTkgMjE6MzE6MTcuMDAw MDAwMDAwIC0wNTAwCisrKyBjb25maWd1cmUuYWMJMjAxMy0xMS0yOCAyMDox ND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