Bug#815436: afnix: FTBFS nearly everywhere

2016-05-18 Thread Jurica Stanojkovic
Hello,

I have attached a patch that resolves this issue.
With this patch package does build from source without an issue on mips, mipsel 
and i386.

Please include this patch.

Regargs,
Jurica--- afnix-2.6.2.orig/src/srv/tls/shl/TlsCerts.cpp
+++ afnix-2.6.2/src/srv/tls/shl/TlsCerts.cpp
@@ -39,7 +39,7 @@ namespace afnix {
 result.add ((t_byte) ((blen & 0xFF00) >> 8));
 result.add ((t_byte)  (blen & 0x00FF));
 // add the buffer
-for (long k = 0L; k < blen; k++) result.add (buf.get (k));
+for (unsigned long k = 0UL; k < blen; k++) result.add (buf.get (k));
 return result;
   }
   


Bug#815436: afnix: FTBFS nearly everywhere

2016-02-21 Thread Andreas Beckmann
Package: afnix
Version: 2.6.2-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

the last upload of afnix FTBFS on nearly all platforms:

https://buildd.debian.org/status/package.php?p=afnix=unstable

mostly due to

  error: comparison between signed and unsigned integer expressions 
[-Werror=sign-compare]


Andreas