diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-03 20:23:57 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-03 20:23:57 +0000 |
commit | a3589fce071a170db3ab1dfe6323be7115bedc44 (patch) | |
tree | dea2775f5485040156f0bdfa349effe20c867d8d /sci-libs/neartree/files/2.1.4-gcc4.3.patch | |
parent | CVector is an ANSI C implementation of dynamic arrays to provide a crude appr... (diff) | |
download | historical-a3589fce071a170db3ab1dfe6323be7115bedc44.tar.gz historical-a3589fce071a170db3ab1dfe6323be7115bedc44.tar.bz2 historical-a3589fce071a170db3ab1dfe6323be7115bedc44.zip |
Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem)
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/neartree/files/2.1.4-gcc4.3.patch')
-rw-r--r-- | sci-libs/neartree/files/2.1.4-gcc4.3.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-libs/neartree/files/2.1.4-gcc4.3.patch b/sci-libs/neartree/files/2.1.4-gcc4.3.patch new file mode 100644 index 000000000000..527254ce57d3 --- /dev/null +++ b/sci-libs/neartree/files/2.1.4-gcc4.3.patch @@ -0,0 +1,20 @@ +--- CNearTreeTest.cpp 2009-06-08 04:54:29.000000000 +0200 ++++ CNearTreeTest.cpp.new 2009-07-25 12:36:33.000000000 +0200 +@@ -47,6 +47,7 @@ + #include <cmath> + #include <stdio.h> + #include <stdlib.h> ++#include <cstring> + + #ifndef USE_LOCAL_HEADERS + #include <TNear.h> +--- TNear.h 2009-06-08 04:54:29.000000000 +0200 ++++ TNear.h.new 2009-07-25 12:39:09.000000000 +0200 +@@ -272,6 +272,7 @@ + #define TRIANG(a,b,c) ( (((b)+(c))-(a) >= 0)) + #endif + ++#include <algorithm> + + //======================================================================= + // CNearTree is the root class for the neartree. The actual data of the |