Hi mapnik dudes,

Fedora is building with gcc 4.3 and the following trivial changes are
needed. If these could be checked in along with my previous ppc64
patch I would be grateful. Kevin Sharp has graciously agreed for me to
take this on and I hope to have mapnik included in the Fedora 8 and
onwards repositories Real Soon Now. Feel free to follow its progress
and make comment should you so wish:

https://bugzilla.redhat.com/show_bug.cgi?id=234581

====================================================


--- include/mapnik/vertex_vector.hpp.orig       2008-03-23
21:02:21.000000000 +0000
+++ include/mapnik/verte--- include/mapnik/vertex_vector.hpp.orig
 2008-03-23 21:02:21.000000000 +0000
+++ include/mapnik/vertex_vector.hpp    2008-03-23 21:04:00.000000000 +0000
@@ -37,6 +37,7 @@
 #include <boost/tuple/tuple.hpp>
 // stl
 #include <vector>
+#include <cstring>

 namespace mapnik
 {
--- include/mapnik/quad_tree.hpp.orig   2008-03-23 21:42:19.000000000 +0000
+++ include/mapnik/quad_tree.hpp        2008-03-23 21:42:43.000000000 +0000
@@ -30,6 +30,7 @@
 #include <boost/noncopyable.hpp>
 // stl
 #include <vector>
+#include <cstring>

 namespace mapnik
 {
--- include/mapnik/image_data.hpp.orig  2008-03-23 22:04:22.000000000 +0000
+++ include/mapnik/image_data.hpp       2008-03-23 22:04:44.000000000 +0000
@@ -27,6 +27,7 @@

 #include <mapnik/octree.hpp>
 #include <cassert>
+#include <cstring>

 // When using Sun's C++ compiler, use the `std` namespace to get
memcpy, memset routines.
 #ifdef __SUNPRO_CC
 --- include/mapnik/enumeration.hpp.orig        2008-03-23
22:22:53.000000000 +0000
+++ include/mapnik/enumeration.hpp      2008-03-23 22:37:29.000000000 +0000
@@ -28,6 +28,7 @@
 #include <vector>
 #include <bitset>
 #include <iostream>
+#include <cstdlib>

 namespace mapnik {

--- plugins/input/shape/shapefile.hpp.orig      2008-03-23
22:48:10.000000000 +0000
+++ plugins/input/shape/shapefile.hpp   2008-03-23 22:49:05.000000000 +0000
@@ -32,6 +32,8 @@
 #include <boost/iostreams/device/file.hpp>
 #include <boost/iostreams/device/mapped_file.hpp>

+#include <cstring>
+
 using mapnik::Envelope;

 struct shape_record
x_vector.hpp    2008-03-23 21:04:00.000000000 +0000
@@ -37,6 +37,7 @@
 #include <boost/tuple/tuple.hpp>
 // stl
 #include <vector>
+#include <cstring>

 namespace mapnik
 {
--- include/mapnik/quad_tree.hpp.orig   2008-03-23 21:42:19.000000000 +0000
+++ include/mapnik/quad_tree.hpp        2008-03-23 21:42:43.000000000 +0000
@@ -30,6 +30,7 @@
 #include <boost/noncopyable.hpp>
 // stl
 #include <vector>
+#include <cstring>

 namespace mapnik
 {
--- include/mapnik/image_data.hpp.orig  2008-03-23 22:04:22.000000000 +0000
+++ include/mapnik/image_data.hpp       2008-03-23 22:04:44.000000000 +0000
@@ -27,6 +27,7 @@

 #include <mapnik/octree.hpp>
 #include <cassert>
+#include <cstring>

 // When using Sun's C++ compiler, use the `std` namespace to get
memcpy, memset routines.
 #ifdef __SUNPRO_CC
 --- include/mapnik/enumeration.hpp.orig        2008-03-23
22:22:53.000000000 +0000
+++ include/mapnik/enumeration.hpp      2008-03-23 22:37:29.000000000 +0000
@@ -28,6 +28,7 @@
 #include <vector>
 #include <bitset>
 #include <iostream>
+#include <cstdlib>

 namespace mapnik {

--- plugins/input/shape/shapefile.hpp.orig      2008-03-23
22:48:10.000000000 +0000
+++ plugins/input/shape/shapefile.hpp   2008-03-23 22:49:05.000000000 +0000
@@ -32,6 +32,8 @@
 #include <boost/iostreams/device/file.hpp>
 #include <boost/iostreams/device/mapped_file.hpp>

+#include <cstring>
+
 using mapnik::Envelope;

 struct shape_record


========================================================

Cheers

-- 
Christopher Brown

http://www.chruz.com
_______________________________________________
Mapnik-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-devel

Reply via email to