Package: amideco Severity: important Tags: patch Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error: > /usr/bin/make -f Makefile -C src CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall > -O2" CPPFLAGS="" LDFLAGS="" > make[1]: Entering directory `/build/buildd/amideco-0.31e/src' > gcc amifunc.c -c -o amifunc.o -fpack-struct > amifunc.c:17:24: error: mem.h: No such file or directory > amifunc.c:18:26: error: conio.h: No such file or directory > amifunc.c: In function 'GetFullDate': > amifunc.c:253: warning: function returns address of local variable > amifunc.c: In function 'Xtract95': > amifunc.c:304: warning: incompatible implicit declaration of built-in > function 'memcpy' > amifunc.c: In function 'Xtract1010': > amifunc.c:503: warning: pointer type mismatch in conditional expression > make[1]: *** [amifunc] Error 1 > make[1]: Leaving directory `/build/buildd/amideco-0.31e/src' > make: *** [debian/stamp-makefile-build] Error 2 Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=amideco>. Please find attached a patch to fix this and make the package build fine on GNU/kFreeBSD. Cheers, -- Cyril Brulebois
--- amideco-0.31e/src/amideco.h 2007-03-10 04:53:49.911669000 +0100 +++ amideco-0.31e/src/amideco.h 2007-03-10 04:54:05.000000000 +0100 @@ -12,7 +12,7 @@ #include <stdio.h> #include <stdlib.h> -#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) +#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) || defined(__FreeBSD_kernel__) #include <memory.h> #define __LINUX_NOW__ #else --- amideco-0.31e/src/amifunc.c 2007-03-10 04:52:23.324381000 +0100 +++ amideco-0.31e/src/amifunc.c 2007-03-10 04:53:13.000000000 +0100 @@ -10,7 +10,7 @@ #include <stdio.h> #include <stdlib.h> -#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) +#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) || defined(__FreeBSD_kernel__) #include <memory.h> #define __LINUX_NOW__ #else