Hello, Now I upload (still to DELAYED) the new version, diff attached.
I have fixed the problems you pointed in last mail, and I noticed I forgot one part of the uintXX_t patch. BTW: lintian give two warning (on your and on this NMU) - policy version - empty /usr/bin I see you install the binary on /bin and not on /usr/bin. Is really what you want? Do you know why pool http://ftp.debian.org/debian/pool/main/a/awardeco/ contains only i386 and amd64 ? But the package should be already build and installed on all archs: http://people.debian.org/~igloo/status.php?packages=awardeco ciao cate
diff -u awardeco-0.2/debian/changelog awardeco-0.2/debian/changelog --- awardeco-0.2/debian/changelog +++ awardeco-0.2/debian/changelog @@ -1,3 +1,12 @@ +awardeco (0.2-2.1) unstable; urgency=low + + * Non-Maintainer Upload at BSP in Zurich: fix rc bug. + * Use the C99 bit length integer, to be safe on various + architectures (Closes: #438385). + * Fix also headers inclusion (memcpy: <string.h>, exit: <stdlib.h>). + + -- Giacomo Catenazzi <[EMAIL PROTECTED]> Thu, 17 Jan 2008 08:17:08 +0100 + awardeco (0.2-2) unstable; urgency=low * Fix FTBFS on GNU/kFreeBSD (Closes: #414235). only in patch2: unchanged: --- awardeco-0.2.orig/debian/patches/30_fixeduint.patch +++ awardeco-0.2/debian/patches/30_fixeduint.patch @@ -0,0 +1,36 @@ +diff -Nur awardeco-0.2/src/awardeco.h awardeco-0.2.new/src/awardeco.h +--- awardeco-0.2/src/awardeco.h 2006-08-05 11:38:03.000000000 +0200 ++++ awardeco-0.2.new/src/awardeco.h 2008-01-17 08:25:23.000000000 +0100 +@@ -10,10 +10,11 @@ + #define AWARDECO_H 1 + + #include <stdio.h> ++#include <stdint.h> + +-typedef unsigned char byte; +-typedef unsigned short word; +-typedef unsigned long dword; ++typedef uint8_t byte; ++typedef uint16_t word; ++typedef uint32_t dword; + + #define Xtract 0x10 + #define List 0x11 +diff -Nur awardeco-0.2/src/awardfnc.c awardeco-0.2.new/src/awardfnc.c +--- awardeco-0.2/src/awardfnc.c 2006-08-05 11:38:03.000000000 +0200 ++++ awardeco-0.2.new/src/awardfnc.c 2008-01-17 08:26:24.000000000 +0100 +@@ -10,10 +10,11 @@ + #define AWARDFUNC_H 1 + + #include <stdio.h> ++#include <stdint.h> + +-typedef unsigned char byte; +-typedef unsigned short word; +-typedef unsigned long dword; ++typedef uint8_t byte; ++typedef uint16_t word; ++typedef uint32_t dword; + + #define Xtract 0x10 + #define List 0x11 only in patch2: unchanged: --- awardeco-0.2.orig/debian/patches/40_fixheader.patch +++ awardeco-0.2/debian/patches/40_fixheader.patch @@ -0,0 +1,12 @@ +diff -Nur awardeco-0.2/src/awardfnc.c awardeco-0.2.new/src/awardfnc.c +--- awardeco-0.2/src/awardfnc.c 2008-01-17 08:26:37.000000000 +0100 ++++ awardeco-0.2.new/src/awardfnc.c 2008-01-17 08:27:05.000000000 +0100 +@@ -11,6 +11,8 @@ + + #include <stdio.h> + #include <stdint.h> ++#include <string.h> ++#include <stdlib.h> + + typedef uint8_t byte; + typedef uint16_t word; only in patch2: unchanged: --- awardeco-0.2.orig/debian/patches/40_fixwarnings.patch +++ awardeco-0.2/debian/patches/40_fixwarnings.patch @@ -0,0 +1,21 @@ +diff -Nur awardeco-0.2/src/awardfnc.c awardeco-0.2.new/src/awardfnc.c +--- awardeco-0.2/src/awardfnc.c 2008-01-16 08:28:09.000000000 +0100 ++++ awardeco-0.2.new/src/awardfnc.c 2008-01-16 08:30:41.000000000 +0100 +@@ -153,7 +153,7 @@ + + byte *GetFullDate(byte *mon, byte *day, byte *year) + { +- byte *Months[]={"", ++ static byte const*const Months[]={"", + "January", + "February", + "March", +@@ -166,7 +166,7 @@ + "October", + "November", + "December"}; +- byte Buf[20]; ++ static byte Buf[20]; // Warning: we return this buffer, so place it in heap not on stack! + sprintf(Buf,"%2.2s",year); + + if((atoi(Buf)>=0) && (atoi(Buf)<70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year);