Package: libfann / 2.1.0~beta+dfsg-1

Metadata

Package Version Patches format
libfann 2.1.0~beta+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Link python pyfann dynamically instead of statically.patch | (download)

python/setup.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] link python-pyfann dynamically instead of statically

Upstream links the pyfann extension against libfann's static library. This
causes all sorts of troubles on some platforms, most notably amd64, where the
extension FTBFS because the static library isn't compiled with -fPIC. The
Debian-specific solution presented here is to link to the shared library and
let package python-pyfann Depend: on it.

0002 Link against libm.patch | (download)

configure.in | 2 2 + 0 - 0 !
src/Makefile.am | 5 5 + 0 - 0 !
2 files changed, 7 insertions(+)

 [patch] link against libm

Upstream's autotools setup does not detect if linking against libm is
necessary, so we extend it to do that.

0003 Patch upstreams Makefile.am reflecting Debian.patch | (download)

Makefile.am | 12 7 + 5 - 0 !
1 file changed, 7 insertions(+), 5 deletions(-)

 [patch] patch upstreams makefile.am reflecting debian

Patch upstream's Makefile.am -- specifically the part referrring to Debian
packaging -- to reflect the changes that were introduced by Debian's own
packaging. This has no effect on the Debian packaging, and is merely included
for completeness. It will be forwarded to upstream eventually.

0004 Portable handling for va_list.patch | (download)

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

 [patch] 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.

0005 Correct a typo in a size comparison.patch | (download)

python/pyfann/pyfann.i | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] correct a typo in a size comparison

0006 Include fann_cpp.h in dev package.patch | (download)

src/include/Makefile.am | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 include fann_cpp.h (c++ wrapper for fann) in package build

Bug-Debian: http://bugs.debian.org/629827
0007 Do not call swig unconditionally.patch | (download)

python/setup.py | 16 6 + 10 - 0 !
1 file changed, 6 insertions(+), 10 deletions(-)

 do not call swig unconditionally

every time setup.py is used, especially when using setup.py install.
The bug upstream refers to is not reproducible here.