Skip to content
Snippets Groups Projects
Commit 56f9033e authored by jpan's avatar jpan
Browse files

modified diff

git-svn-id: https://kforge.ros.org/fcl/fcl_ros@17 253336fb-580f-4252-a368-f3cef5a2a82b
parent 665ab66a
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ all: installed ...@@ -5,7 +5,7 @@ all: installed
# #
TARBALL = build/ann_1.1.2.tar.gz TARBALL = build/ann_1.1.2.tar.gz
TARBALL_URL = http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/ann_1.1.2.tar.gz TARBALL_URL = http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/ann_1.1.2.tar.gz
TARBALL_PATCH = fPIC.diff TARBALL_PATCH = fANN.diff
INITIAL_DIR = build/ann_1.1.2 INITIAL_DIR = build/ann_1.1.2
SOURCE_DIR = build/ann-tar SOURCE_DIR = build/ann-tar
include $(shell rospack find mk)/download_unpack_build.mk include $(shell rospack find mk)/download_unpack_build.mk
......
diff -purN ann_1.1.2/include/ANN/ANN.h ann_1.1.2_modified/include/ANN/ANN.h
--- include/ANN/ANN.h 2010-01-27 20:40:01.000000000 -0800
+++ include/ANN/ANN.h 2011-08-30 12:13:26.629632052 -0700
@@ -232,7 +232,7 @@ const ANNdist ANN_DIST_INF = ANN_DBL_MAX
// strictly positive.
//----------------------------------------------------------------------
-const ANNbool ANN_ALLOW_SELF_MATCH = ANNtrue;
+const ANNbool ANN_ALLOW_SELF_MATCH = ANNfalse;
//----------------------------------------------------------------------
// Norms and metrics:
diff -purN ann_1.1.2/Make-config ann_1.1.2_modified/Make-config
--- Make-config 2010-01-27 20:40:01.000000000 -0800
+++ Make-config 2011-08-30 12:12:42.916876291 -0700
@@ -72,7 +72,7 @@ linux-g++:
$(MAKE) targets \
"ANNLIB = libANN.a" \
"C++ = g++" \
- "CFLAGS = -O3" \
+ "CFLAGS = -O3 -fPIC" \
"MAKELIB = ar ruv" \
"RANLIB = true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment