summaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAge
* [master]: Cleanup generated files based on changes to flex.skl.debian/2.6.0-11Manoj Srivastava2016-02-24
| | | | | | | | | | | | | | The variable yy_n_chars had been of type yy_size_t which is incorrect given its use in read(). While it might be adviseable to look at defining a yy_ssize_t, there might be some issues doing this and so, for now, at least, we'll punt back to int. Bug fix: "Type of yy_n_chars changed to yy_size_t by authors cause bug in YY_INPUT macro where result argument is tested if &lt; 0; thanks to gcc&#39;s -Werror=type-limits", thanks to Michal Fita (Closes: #770161). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Fixed size of buffer allocationManoj Srivastava2016-02-24
| | | | | | | | | | | The value of n_alloc was a count, not a size. Multiplying the value by the element size was incorrect. That multiplication was already being done and having it done twice was incorrect. Bug fix: "n_alloc has wrong value in buf_append function", thanks to Howard Gong (Closes: #761250). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* [master]: Fix undeclared variable tsz.debian/2.6.0-10Manoj Srivastava2016-02-24
| | | | Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Emit no #line directives if gen_line_dirs is falseManoj Srivastava2016-02-24
| | | | | | | | | | | There are two instances in the code which will print a #line directive to the resulting lexer, regardless of the value of gen_line_dirs. Fix them, so they also respect gen_line_dirs. Bug fix: "flex --noline outputs a #line directive", thanks to Arthur Schwarz (Closes: #729927). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Allow '%option noline' in flex input fileManoj Srivastava2016-02-24
| | | | | | | | | | Allow specifying '%option noline' in the input file, leading to the same effect as calling flex with the command line option --noline. Bug fix: "%option noline generates and error message", thanks to Arthur Schwarz (Closes: #729693). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Updated for cross compilation supportdebian/2.6.0-9Manoj Srivastava2016-02-18
| | | | | | | | | | | | Updated standards version to 3.9.7. No changes needed. Bug fix: "[src:flex] FTCBFS: runs host arch binaries during build", thanks to Helmut Grohne. Make the tests use either the installed flex or the newly built flex to generate test soureces, depending on whether or not we are cross compiling. Also added a build depends flex <cross> Hope this works. This has not broken the common case. (Closes: #762180). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Run native binary via help2mandebian/2.6.0-8Manoj Srivastava2016-02-16
| | | | | | | | Bug fix: "runs host arch binaries during build via help2man", thanks to Helmut Grohne. The change from the previous patch is that the flex binary now is created in ./src/ (Closes: #762180). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Honour nockeck in DEB_BUILD_OPTIONSManoj Srivastava2016-02-16
| | | | | | | | | Bug fix: "flex FTCBFS: runs tests even when DEB_BUILD_OPTIONS contains nocheck", thanks to Helmut Grohne. Added an AM_CONDITIONAL that tests DEB_BUILD_OPTIONS in configure.ac, and use that in tests/Makefile.am. Seems to work fine. (Closes: #812659). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Really fix C++ comments in C parsers bug.debian/2.6.0-7Manoj Srivastava2016-02-13
| | | | | | | | | | | | So, when we applied the upstream patch, it only fixed the skeleton file, flex.skl, and not the generated files skel.c and scan.c;. Added a feature branch that fixes the generated files, the need for this will go away with the next upstream release. I hope. For what it is worth, the diff in upstream seems to be the same one that was in the NMU; and I have no explanations for why the -6 would behave diferently from the NMU. (Closes: #813256). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* [master]: Set the libfl-dev package to be MA: same in the interim.debian/2.6.0-6Manoj Srivastava2016-02-09
| | | | Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Potential fix for the multi-arch issuedebian/2.6.0-5Manoj Srivastava2016-02-08
| | | | | | | | | | | Flex no longer automatically pulls in libfl-dev, so at the very least packages using C++ lexers will need to pull in libfl-dev in build depends. libfl-dev is now demoted to a suggestion. This will impact compilation where there was an implicit dependency on the C++ header files provided by libfl-dev; please install libfl-dev explicitly if that is the case. Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* A bug fixing releasedebian/2.6.0-4Manoj Srivastava2016-02-05
| | | | | | | | | | | | | | | | | Bug fix: "C++ style comment in C output", thanks to Tim Rühsen There is a fix uploaded to deferred by Salvatore Bonaccorso <carnil@debian.org>. I am uploading this fix instead, since this variant has the same fix applied by a signed cherry pick from upstream, which will make the upgrade to the next version somewhat simpler. (Closes: #813256). Bug fix: "wrongly declares Multi-Arch:foreign", thanks to Helmut Grohne. While we discuss the correct solution for this, I have removed the MA package tags. I am not quite happy with the proposed solution (swapping names of the packages seems icky, but I'll defer to the experts if there is no better way) (Closes: #761449). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* revert previous changesdebian/2.6.0-3Manoj Srivastava2016-01-25
| | | | Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Changes to let flex crosscompiledebian/2.6.0-2Manoj Srivastava2016-01-25
| | | | Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* A bug fixing point releaseManoj Srivastava2016-01-25
| | | | | | Drop patch from upstream about line numbering that is not working Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* New upstream version 2.6.0debian/2.6.0-1Manoj Srivastava2016-01-24
| | | | | | | | Updated the VCS-Git field of the control file to use HTTPS transport Updated the copyright file to DEP-5 format. Reverted to source format 1.0 , and use dgit Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* [master]: Build dependency fixes, no code changeManoj Srivastava2014-06-20
| | | | | | | | | | | | | | | | | | Added a missing build depends on vm-super-minimal, reuired fro building the pdf documentation, (Closes: #752151). Move flex.pdf to the flex-doc package. This makes it possible for the flex package's contents to not change if texinfo is not installed, e.g. in the stage1 build profile. Thanks to Peter Pentchev <roam@ringlet.net> Move the flex-doc build dependencies to B-D-I. Move the TeX Live dependencies to Build-Depends-Indep and only build the HTML and PDF documentation if actually requested. This breaks a circular build dependency by not requiring texlive for the build of the arch-dependent flex binary packages. (Closes: #749344). Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
* [master]: Move flex.pdf to the flex-doc package.Manoj Srivastava2014-06-20
| | | | | | | | This makes it possible for the flex package's contents to not change if texinfo is not installed, e.g. in the stage1 build profile. Signed-off-by: Peter Pentchev <roam@ringlet.net> Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
* [master]: Fic build dependency.Manoj Srivastava2014-06-20
| | | | Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
* [master]: Clean up rules and dependenciesManoj Srivastava2014-05-26
| | | | | | | | | | | * dh-autoreconf already depends on all the autotools that it will attempt to use to rebuild the package's build framework, so remove the direct (and redundant) dependencies on the autotools packages. Suggestion by Peter Pentchev (Closes: #749341). * The patch also cleaned up the creation of examples and links for man pages. Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
* [master]: Fix off by one error in line numberingManoj Srivastava2014-05-06
| | | | | | | | | The code that is generated by flex has an off-by-one error in the generated #line pragmas that occur after the second %% line in the source file. Marcus Rausch supplied the patch that fixes it. (Closes: #542482). Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
* [mastre]: Fix cross builds.Manoj Srivastava2014-04-27
| | | | | | | | | Adapted patch from Matthias Klose to add pre-seeding of autoconf values as paramaters, fixing cross builds. flex uses runtime checks for configure tests, and preseeding allows cross build to succeed, Bug fix: "fix cross build", thanks to Matthias Klose. Applied fix manually (Closes: #746172).
* [master]: Fix type in the rules file.Manoj Srivastava2014-04-25
| | | | | | over -> over (Closes: #745228) Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
* [master]: Move libl.a from flex to libfl-devManoj Srivastava2014-04-17
| | | | | | install link manually for libfl-dev alone, cleaning up the rules file in the process. Signed-off-by: Manoj Srivastava <srivasta@ieee.org>
* New bug fixing releaseManoj Srivastava2014-04-17
| | | | | | | | | | | | | | | | | | | | Bug fix: "typo in README.Debian: libfla_pic.a -&gt; libfl_pic.a", thanks to Jakub Wilk (Closes: #744853). Bug fix: "libfl-dev and flex-old: error when trying to install together", thanks to Ralf Treinen. The package libfl-dev needs to replace and Break the flex-old package too, (Closes: #744833). Bug fix: "redundant redeclaration of ‘isatty’", thanks to Ludovic Rousseau. This duplication was removed in the last upstream release. (Closes: #488274). Bug fix: "flex-2.5.35 bug", thanks to Yuriy Z. scan.c now declares n as size_t, in the new upstream version. (Closes: #633008). Bug fix: "make check failure", thanks to Sayre, Alan N. The new version of flex does succeed in running make check (it would not build otherwise) (Closes: #632095).
* [master]: New upstream version.Manoj Srivastava2014-04-11
* internationalization: added support for various languages. Fix make install target to not fail when the flex++ program is already installed. various portability fixes that quiet compiler warnings on 64-bit hosts. numerous bug fixes. * Moved to a new dh based build system. Also moved to a 3.0 source format, using debcherry. * Bug fix: "cross build support", thanks to Eleanor Chen. We have moved to a standard dh based build, so we should not have this issue any more. (Closes: #719955). * Bug fix: "examples not included into binary packages", thanks to Carl Fürstenberg. Examples are in this version. (Closes: #560387). * Bug fix: "new upstream release 2.5.37", thanks to Peter Eisentraut (Closes: #729759). * Bug fix: "flex, new release available for download", thanks to Gianfranco Costamagna (Closes: #736345). * Bug fix: "please mark flex as Multi-Arch: allowed", thanks to Steve Langasek. Redid the patch to work with dh. (Closes: #611230). * Updating to a new build system means that the changes made to the build system in the NMU are not needed, dh does the right thing. * The new upstream release added the prototypes in re-entrant mode, so we are no longer carrying those patches. Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>