Package: libfann / 2.1.0~beta~dfsg-8

Metadata

Package Version Patches format
libfann 2.1.0~beta~dfsg-8 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)

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

 [patch] link against libm

Upstream's autotools setup does not detect if linking against libm is
necessary. The easiest solution for Debian is to include a small fix in
Makefile.in.

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 !
src/include/Makefile.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

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

Bug-Debian: http://bugs.debian.org/629827
debian changes 2.1.0~beta~dfsg 8 | (download)

python/pyfann/libfann.py | 337 337 + 0 - 0 !
1 file changed, 337 insertions(+)

 upstream changes introduced in version 2.1.0~beta~dfsg-8
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 libfann (2.1.0~beta~dfsg-8) unstable; urgency=low
 .
   * debian/control:
     - Build-Depend on swig (>= 2.0.4-2) instead of swig2.0; the former has now
       taken over the /usr/bin/swig symlink. Closes: #634430
 .
 The person named in the Author field signed this changelog entry.