Package: libncursesada / 5.9.20110404-7
Metadata
| Package | Version | Patches format |
|---|---|---|
| libncursesada | 5.9.20110404-7 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| do_not_declare_unused_bits.diff | (download) |
gen/gen.c |
45 5 + 40 - 0 ! |
big endian portability
Migration from upstream 5.8 to 5.9 introduces a failure in build process on
big endian architectures: powerpc, s390 and sparc, with messages like
.
terminal_interface-curses.ads:347:41: size for "Character_Attribute_Set" too small, minimum allowed is 32
.
The affected parts representation clauses are generated. The trouble is
related to the changes of procedure gen_reps() in C source gen/gen.c.
.
The goal was to remove the GNAT warnings about unused bits. This patch
directly suppresses the warnings.
.
On Debian, gnat >= 4.4 allows accurate warning selection like
printf ("pragma Warnings (Off/On, \"* bits of \"\"%s\"\" unused\");", nawe);
but upstream prefers this solution which is available on older gnat versions
printf ("pragma Warnings (Off/On);");
|
1
