Source: yafc Version: 1.1.1.dfsg.1-4.1 Severity: important Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
yafc currently fails to build on hurd-i386 [1] with: input.c:118:20: error: 'IUCLC' undeclared (first use in this function) input.c:121:24: error: 'TCSETS' undeclared (first use in this function) input.c: In function 'ask': input.c:328:8: warning: variable 'defstr' set but not used [-Wunused-but-set-variable] make[5]: *** [input.o] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 This is due to use-termios.patch to fix #601758. The attached patch fixes this issue. Regards [1] https://buildd.debian.org/status/fetch.php?pkg=yafc&arch=hurd-i386&ver=1.1.1.dfsg.1-4.1&stamp=1313692146 - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages yafc depends on: ii dpkg 1.16.0.3 ii install-info 4.13a.dfsg.1-8 ii libc6 2.13-21 ii libncurses5 5.9-1 ii libreadline6 6.2-4 yafc recommends no packages. yafc suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOe2ZTAAoJEGny/FFupxmT/UcP/05tRMRNYS/QqVR4zYMan0Y0 uDPvPPUN+URSPY3tMPA6q6pyxGKz/uHedO5oOs5mqM/zSL+ims0AKUEq5w/ajjKT olt8MYzT4qkN2kJVJIhVu1xFPfuisev5+rtHuW8miPp9KOqLkyPjha/q+YAUMvFr Vu259k2ZB8W949ALQ7abI6TZ1gs0oiRyKh4XCADSO5X3tI/Hn4bTjkrawIOk1DRA 7mKpCEnsh6IVXrNcxXr846Pez/1ID5EXeDhXNw6q0nOgfxOF8yzPAcMfOeWa+hDG leMbza8kfn5SEo6yeOzLTgn+q2xF7ADPvp9lE2ruSHqjio3gzNbxHnl5auriXWRH lJkPyLznuNhokx0g/uaTe2LGuUj+ChCPzavQpUSByQ4dMh7WFce2bHRZigOERx3J uynrtH/BkWfQltLZlraLDwilXrAhRUfZxhS7TKBwIk1w2Wow/Doz9RqpyInB7xJf TkipgnTYTN8QZYbPVCVclL3SY+km8TQSDYLXEF5yZ3H/q1Pgv4LQ3DezaOvxkPWU VumyZ83aMg+1vvtz8vuAYqISnEa6fijvDOUVQsm0Rg5gYWW6X8DIb1GJXCQRDOXC 6WKzm786YVyGyiM3IcnyALnWs7FyWOoCQgjOG5xAprt2O3jur6f67gV+1zTFUocu dkRDZn0ShsrH4ojo0Z61 =X8rM -----END PGP SIGNATURE-----
--- yafc-1.1.1.dfsg.1/debian/patches/use-termios.patch.orig 2011-09-22 18:29:55.000000000 +0200 +++ yafc-1.1.1.dfsg.1/debian/patches/use-termios.patch 2011-09-22 18:31:09.000000000 +0200 @@ -21,7 +21,7 @@ -# include <termio.h> +# include <termios.h> + -+# if __FreeBSD_kernel__ ++# if __FreeBSD_kernel__ || defined(__GNU__) +# ifndef IUCLC + /* Not implemented in FreeBSD 8.0! */ +# define IUCLC 0