[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#732681: Line 767 one character too long :(



reopen 732681
found 732681 4.8.2-7
thanks

Hello,

Due to some unfortunate reason line 767 of ada-s-osinte-gnu.ads was one
character too long, 80 instead of 79, causing the build failure. I see
now that when building that line was already broken in two pieces but
in the patch it was not.

Editing Ada code in Emacs is tricky, my settings are not
optimal, for example all variables even if all lower case are
automatically transformed to a mix of upper-and-lower case
characters.

Attached is a diff to that file, where line 767 is broken into two
lines.

>Closes: 732681
>Changes: 
> gnat-4.8 (4.8.2-7) unstable; urgency=low
> .
>   * debian/patches/gcc_ada_gcc-interface_Makefile.in.diff: rename
>to...
>   * debian/patches/ada-hurd.diff: ... this; add a hunk to create
>     s-osinte-gnu.ads.  Closes: #732681.
>   * debian/rules.patch: apply ada-hurd.diff on all architectures, to
>help detect bugs.

I'm very sorry for this, and understand fully if you wait to submit a
new version until other changes are needed.

Thanks! 
--- debian_patches_ada-s-osinte-gnu.ads_line767.diff	2013-12-18 18:03:36.000000000 +0100
+++ debian_patches_ada-s-osinte-gnu.ads.diff	2014-02-04 05:03:53.000000000 +0100
@@ -1,6 +1,6 @@
 --- /dev/null	2012-01-30 20:41:15.189616186 +0100
 +++ b/src/gcc/ada/s-osinte-gnu.ads	2012-04-11 19:34:45.000000000 +0200
-@@ -0,0 +1,813 @@
+@@ -0,0 +1,814 @@
 +------------------------------------------------------------------------------
 +--                                                                          --
 +--                GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS               --
@@ -767,7 +767,8 @@
 +   --  typedef struct __pthread_condattr pthread_condattr_t;
 +   --  /usr/include/i386-gnu/bits/condition.h:struct __pthread_cond{}
 +   --  pthread_condattr_t: see above!
-+   --  /usr/include/i386-gnu/bits/condition.h:struct __pthread_condimpl *__impl;
++   --  /usr/include/i386-gnu/bits/condition.h:
++   --  struct __pthread_condimpl *__impl;
 +
 +   type pthread_cond_t is record
 +      lock       : int;

Reply to: