Package: libfann / 2.2.0+ds-3

Metadata

Package Version Patches format
libfann 2.2.0+ds-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Portable handling for va_list.patch | (download)

src/include/fann_cpp.h | 21 15 + 6 - 0 !
1 file changed, 15 insertions(+), 6 deletions(-)

 portable handling for va_list

The current code wrongly assumes va_list is always implemented as an array. va_list
however is an opaque type, and may also be implemented as a struct, for
example. This patch implements handling of va_list in a platform-independent
way, fixing a FTBFS on alpha and armel.

cmake Configurable pkgconfig install destination.patch | (download)

CMakeLists.txt | 4 1 + 3 - 0 !
cmake/Modules/DefineInstallationPaths.cmake | 6 6 + 0 - 0 !
2 files changed, 7 insertions(+), 3 deletions(-)

 cmake: configurable pkgconfig install destination

Don't hard-code the destination; allow it to be overrridden, just as for the
other targets.

cmake Build static libraries.patch | (download)

src/CMakeLists.txt | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 cmake: build static libraries

The previous autoconf-based build produced static libraries and we shipped
them in the -dev package, so continue to do so.

Link against libm.patch | (download)

src/CMakeLists.txt | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 link against libm

The libraries need to be explicitly linked against libm.