Quoting Sven Joachim <svenj...@gmx.de>:

Package: libncurses5-dev
Version: 5.9-2
Severity: normal
User: debian-d...@lists.debian.org
Usertags: multiarch

When I marked the -dev packages as "Multi-Arch: same", I naively assumed
that the header files would be identical across architectures.  A check
of libncurses5-dev:kfreebsd-i386 and libncurses5-dev:i386 reveals that
this is actually not the case:

...the generated-by stuff is a build-artifact that doesn't really matter,
but the termio/termios stuff is hard to eliminate, since it in turn is
eliminating some work by the applications that use the header files.

 #define KEY_UP         0403            /* up-arrow key */
diff -ur kfreebsd-i386/usr/include/term.h i386/usr/include/term.h
--- kfreebsd-i386/usr/include/term.h    2011-09-30 15:56:42.000000000 +0200
+++ i386/usr/include/term.h     2011-09-30 15:46:23.000000000 +0200
@@ -83,7 +83,7 @@
 #else /* !HAVE_TERMIOS_H */

 /* #if HAVE_TERMIO_H */
-#if 0
+#if 1

 #undef  TERMIOS
 #define TERMIOS 1
Only in kfreebsd-i386/usr/lib: i386-kfreebsd-gnu
Only in i386/usr/lib: i386-linux-gnu
--8<---------------cut here---------------end--------------->8---

I suppose it should not be too difficult to eliminate these differences,
but it needs some investigation.

The alternative would be to make the generated config.h (ncurses_cfg.h)
included by each of the "public" header files, and to include that from
another place (architecture-dependent).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to