head 1.2; access; symbols pkgsrc-2022Q3:1.1.0.12 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.10 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.8 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.6 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.4 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.2 pkgsrc-2021Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2022.11.01.21.29.07; author adam; state dead; branches; next 1.1; commitid qtu6QiMtnz3XQ20E; 1.1 date 2021.04.27.15.16.46; author thor; state Exp; branches; next ; commitid QmfiA1vnbrvmzWQC; desc @@ 1.2 log @flann-lib: updated to 1.9.2 Version 1.9.2 * Removed redundant assignment * Removed unnecessary null checks before delete * Reverted PR 424 due to lack of portability * fscanf fix * Out of bounds check * Fixed MacOS build * Fixed build system with dummy.c hack * Fixed misleading indentation in util/any.h * Included datasets in repo * Correct typo in definition * Fix typos * CMakefile CUDA sources fix * Documentation fix * Scoping issue fix * Documentation fixes * Changed return value * Fixed CUDA crash - guarantee prealloc > 0 * Fixed wrong variable use * Fixed RNG initialization * Updated link to PDF @ text @$NetBSD: patch-src_cpp_CMAkeLists.txt,v 1.1 2021/04/27 15:16:46 thor Exp $ See https://github.com/mariusmuja/flann/issues/443 . --- src/cpp/CMakeLists.txt.orig 2016-08-05 01:20:50.000000000 +0200 +++ src/cpp/CMakeLists.txt 2020-04-15 21:19:33.106219724 +0200 @@@@ -29,7 +29,7 @@@@ endif() if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_COMPILER_IS_GNUCC) - add_library(flann_cpp SHARED "") + add_library(flann_cpp SHARED "empty.cpp") set_target_properties(flann_cpp PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(flann_cpp -Wl,-whole-archive flann_cpp_s -Wl,-no-whole-archive) @@@@ -83,7 +83,7 @@@@ set_property(TARGET flann_s PROPERTY COMPILE_DEFINITIONS FLANN_STATIC) if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_COMPILER_IS_GNUCC) - add_library(flann SHARED "") + add_library(flann SHARED "empty.cpp") set_target_properties(flann PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(flann -Wl,-whole-archive flann_s -Wl,-no-whole-archive) else() --- src/cpp/empty.cpp 1970-01-01 01:00:00.000000000 +0100 +++ src/cpp/empty.cpp 2020-04-15 21:46:36.507084559 +0200 @@@@ -0,0 +1 @@@@ +// This is just a dummy to fix the build system. @ 1.1 log @math/flann-lib: added library for nearest-neighbor search @ text @d1 1 a1 1 $NetBSD$ @