Date: Thu, 2 Oct 2014 23:02:46 +0200 From: "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl> To: Manfred Antar <null@pozo.com> Cc: ports@freebsd.org, marino@freebsd.org, brion@queeg.com Subject: Re: Xtide Broken on X86 X64 current Message-ID: <20141002210246.GA10548@spectrum.skysmurf.nl> In-Reply-To: <201410021826.s92IQ52J017427@pozo.com> References: <201410021826.s92IQ52J017427@pozo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--DBIVS5p969aUjpLe Content-Type: multipart/mixed; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > and add to top of file: > extern "C" int isnan (double); >=20 > 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. HTH, AvW Ad (*): Except for the /usr/local leftovers that come with the current Tinderbox breakage and do not otherwise indicate a problem. --=20 Imbibo, ergo sum. --uAKRQypu60I7Lcqm Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="xtide.patch" Content-Transfer-Encoding: quoted-printable diff -ruN xtide.orig/files/patch-xxGlobal.cc xtide/files/patch-xxGlobal.cc --- xtide.orig/files/patch-xxGlobal.cc 1970-01-01 01:00:00.000000000 +0100 +++ xtide/files/patch-xxGlobal.cc 2014-10-02 22:55:37.000000000 +0200 @@ -0,0 +1,11 @@ +--- xxGlobal.cc.orig 2014-10-02 22:35:14.000000000 +0200 ++++ xxGlobal.cc 2014-10-02 22:34:57.000000000 +0200 +@@ -18,6 +18,8 @@ + along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +=20 ++extern "C" int isnan (double); ++ + #include "xtide.hh" +=20 + #ifdef GPS_GOOD --uAKRQypu60I7Lcqm-- --DBIVS5p969aUjpLe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJULb12AAoJEAfP7gJTaCe8hjQP/Rp0MCUchdzvdSBZ3XnK+UeW ZR9pu5cWAFEU6/4zhBpB/V4Jr1xKbQxYdyLtAj9stlgg52bHlHt1rY4P3eCmlkXH JLwmZQEJqASyBjB9MZuTA1cf0yjlEBW8UoToYLFPrvs8uOEyzcwrohpb+UJ+1Wam /5F0tZfQp02N/tJIggRxsBoYxAIS86LDaTKIAbWWSG2Wx8FSrBIdYccbM2IsU4BD UZIbD/wpuFuenn4FMFUsJ5czini+ZCyzOInHL/xM2HRDOD8hfxdY55KxFl/Gd5eY 80tYBPMMds5MHJ1+fZdFx0ylm052O2KQNCv9lx2mrD7rhoHBpj5VPqnJ2AmF+pLA g8FEu2oRgaYjynQB+PVyCqrfSsnfR1HvB58jd4flUBOMfN4YDoAXOMK3YcyTD1Xa byQeTy8+PwsDxGxh+bWuosOVrvTjEnrxJLw5Cp/lis3r+4QQUsOAXgSbXrtm02MT XiSWvz8Ph/7+2eA0bv0z2Y+7cEgDTMwfGeqQHWvy3Ptzh+vQiTu3nTk6fbVSRQDx PVwqrx/N3M5x+dikpunFR1kw9VaypFbyk9dBH0Fck/HqGyL9fiFCFovWyikGdK8x knOMo+WRwaO94h7ilaw5niI8mAB4g2AAln650WNYXJVuPJKkEQpHcQZaJ2oYl0HW eqmUHlrZ2h057boaBXJw =E74Q -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141002210246.GA10548>