Bug#813256: flex: C++ style comment in C output

2016-02-02 Thread Salvatore Bonaccorso
Control: tags -1 + patch

Hi Manoj,

On Sun, Jan 31, 2016 at 10:35:26PM +0100, Salvatore Bonaccorso wrote:
> Control: forwarded -1 http://sourceforge.net/p/flex/bugs/195/
> 
> Hi
> 
> For the record, this should be the mentioned commit:
> 
> https://github.com/westes/flex/commit/07d89829

Attached proposed debdiff, with upstream commit applied.

Regards,
Salvatore
diff -u flex-2.6.0/debian/changelog flex-2.6.0/debian/changelog
--- flex-2.6.0/debian/changelog
+++ flex-2.6.0/debian/changelog
@@ -1,3 +1,12 @@
+flex (2.6.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Comments in C style in skeleton.
+Fixes "flex: C++ style comment in C output".
+Thanks to Tim R??hsen  (Closes: #813256)
+
+ -- Salvatore Bonaccorso   Sun, 31 Jan 2016 22:51:42 +0100
+
 flex (2.6.0-3) unstable; urgency=low
 
   * Revert the help2man fix; it was creating errors in the diff.gz
only in patch2:
unchanged:
--- flex-2.6.0.orig/src/flex.skl
+++ flex-2.6.0/src/flex.skl
@@ -2350,7 +2350,7 @@
 * scanner will even need a stack. We use 2 instead of 1 to 
avoid an
 * immediate realloc on the next call.
  */
-   num_to_alloc = 1; // After all that talk, this was set to 1 
anyways...
+  num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
(num_to_alloc * 
sizeof(struct yy_buffer_state*)

M4_YY_CALL_LAST_ARG);


Bug#813256: flex: C++ style comment in C output

2016-01-31 Thread Salvatore Bonaccorso
Control: forwarded -1 http://sourceforge.net/p/flex/bugs/195/

Hi

For the record, this should be the mentioned commit:

https://github.com/westes/flex/commit/07d89829

Regards,
Salvatore



Bug#813256: flex: C++ style comment in C output

2016-01-30 Thread Tim Rühsen
Package: flex
Version: 2.6.0-3
Severity: important

Dear Maintainer,

flex adds a C++ comment into C code which prevents compiling with gcc -
std=c89.

It has been fixed in upstream in commit 07d89829.

Please also fix it in the Debian flex package.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages flex depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  dpkg   1.18.4
ii  install-info   6.0.0.dfsg.1-4
ii  libc6  2.21-7
ii  libfl-dev  2.6.0-3
ii  m4 1.4.17-5

Versions of packages flex recommends:
ii  clang-3.5 [c-compiler]  1:3.5.2-3
ii  clang-3.6 [c-compiler]  1:3.6.2-3
ii  clang-3.7 [c-compiler]  1:3.7.1-1
ii  gcc [c-compiler]4:5.3.1-1
ii  gcc-4.6 [c-compiler]4.6.4-7
ii  gcc-4.7 [c-compiler]4.7.4-3
ii  gcc-4.8 [c-compiler]4.8.5-4
ii  gcc-4.9 [c-compiler]4.9.3-11
ii  gcc-5 [c-compiler]  5.3.1-7

Versions of packages flex suggests:
ii  bison2:3.0.4.dfsg-1
ii  build-essential  12.1

-- no debconf information


signature.asc
Description: This is a digitally signed message part.