ports/74776: [ maintainer ] astro/xplanet: update to 1.1.2

Roman Bogorodskiy bogorodskiy at inbox.ru
Wed Dec 8 13:14:02 UTC 2004


 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
-------------- next part --------------
--- 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
  */
 
+#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
 */
 
+#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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20041208/c1dd8428/attachment.sig>


More information about the freebsd-ports-bugs mailing list