Package: varkon
Version: 1.18A-2.1
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> gcc-3.3 -ansi -pedantic -Wall -ffloat-store -fsigned-char -fwritable-strings 
> -O -DUNIX -DV3_X11 -DWRK_STAT   -c -o ig2.o ig2.c
> ig2.c:57:20: termio.h: No such file or directory
> make[2]: *** [ig2.o] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=varkon>.

Please find attached a tiny patch to fix this. I guess that using
<termio.h> instead of "termio.h" would be interesting too, but I tried
to keep my patch as non-intrusive as possible. With the attached patch,
your package builds fine on GNU/kFreeBSD.

Cheers,

-- 
Cyril Brulebois
--- varkon-1.18A/sources/IG/src/ig2.c	2007-03-20 15:55:06.356880000 +0100
+++ varkon-1.18A/sources/IG/src/ig2.c	2007-03-20 15:55:10.000000000 +0100
@@ -54,7 +54,11 @@
 
 #ifdef UNIX
 #undef VSTART
-#include "termio.h"
+#if !defined(__FreeBSD_kernel__)
+# include "termio.h"
+#else
+# include <termios.h>
+#endif
 #endif
 
 extern MNUALT smbind[];      /* Symboler */

Reply via email to