Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2004 16:14:30 +0300
From:      Roman Bogorodskiy <bogorodskiy@inbox.ru>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/74776: [ maintainer ] astro/xplanet: update to 1.1.2
Message-ID:  <20041208131430.GA616@lame.novel.ru>
In-Reply-To: <200412072306.iB7N60cS020721@freefall.freebsd.org>
References:  <200412072306.iB7N60cS020721@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Bn2rw/3z4jIqBvZU
Content-Type: multipart/mixed; boundary="sm4nu43k4a2Rpi4c"
Content-Disposition: inline


--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

 Pav wrote:

> ProjectionBonne.cpp: In method `ProjectionBonne::ProjectionBonne(int, int, int)':
> ProjectionBonne.cpp:37: implicit declaration of function `int snprintf(...)'
> *** Error code 1

I've attached a patch which probably can fix this problem.

-Roman Bogorodskiy

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-aa
Content-Transfer-Encoding: quoted-printable

--- src/libprojection/ProjectionBonne.cpp.orig	Wed Dec  8 14:56:51 2004
+++ src/libprojection/ProjectionBonne.cpp	Wed Dec  8 14:57:11 2004
@@ -7,6 +7,8 @@
   http://www.atnf.csiro.au/~mcalabre/WCS
  */
=20
+#include <stdio.h>
+
 #include <cmath>
 #include <sstream>
 #include <vector>
--- src/libprojection/ProjectionGnomonic.cpp.orig	Wed Dec  8 14:57:44 2004
+++ src/libprojection/ProjectionGnomonic.cpp	Wed Dec  8 14:57:58 2004
@@ -7,6 +7,8 @@
   http://www.atnf.csiro.au/~mcalabre/WCS
 */
=20
+#include <stdio.h>
+
 #include <cmath>
 #include <sstream>
 using namespace std;
--- src/libprojection/ProjectionMercator.cpp.orig	Wed Dec  8 14:58:26 2004
+++ src/libprojection/ProjectionMercator.cpp	Wed Dec  8 14:58:46 2004
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
 #include <cmath>
 #include <sstream>
 using namespace std;

--sm4nu43k4a2Rpi4c--

--Bn2rw/3z4jIqBvZU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iQCVAwUBQbb+NoB0WzgdqspGAQI4sgP/YJ9E1GnKbI/yMCK6MQK+tpNWISxbfVhl
+hqcJuWxlwHoyQ4pnVt8ghIDKrfLUg8Z3fvlKhuJf4qVL9QhCv5Xt9s+J4bnYLK4
LSuFbB7FrEKHTJ8b9NK19ceDGMD1J5Io9Ei6tw8HFXYJqo3paE0N9WOYI7ubYLpC
P3pSrJJKSx0=
=XTKa
-----END PGP SIGNATURE-----

--Bn2rw/3z4jIqBvZU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041208131430.GA616>