A tool for creating scanners (text pattern recognizers)
Go to file
Arjun Shankar 967afaa6d0 Remove g++ signed/unsigned comparison warning in generated scanner
Compiling a flex generated scanner with g++ with all warnings turned on (-Wall)
produces a warning due to "comparison of integer expressions of different
signedness". This change removes the warning by using the same signedness.

This bug was a regression inherited from upstream flex during the rebase to
flex-2.6.1. The same bug was fixed previously (albeit differently) by commit
a3088c99e8.
2018-06-28 16:18:04 +02:00
.gitignore Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
flex-2.6.0-yyless.patch Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
flex-max_size.patch Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
flex-new_size.patch Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
flex-yy_buf_size.patch Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
flex-yybytes_len.patch Remove g++ signed/unsigned comparison warning in generated scanner 2018-06-28 16:18:04 +02:00
flex.spec Remove g++ signed/unsigned comparison warning in generated scanner 2018-06-28 16:18:04 +02:00
gen-quilt-series.sh Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
quilt-patch.sh Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
README.quilt Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
sources 2.6.1-1 2016-09-13 08:56:11 -05:00

This package supports working with patch files using quilt.

To regenerate the quilt series file run:
./gen-quilt-series.sh

Setup environment:
export QUILT_PATCHES=$PWD

Setup the source:
./quilt-patch.sh [-f]

Use `-f` if you want to have quilt-patch always remove the existing
source directory before starting. Otherwise you'll be patching on top of
an already patched tree generated perhaps by `*pkg prep`.

To add a new patch:

Option 1: Create a new patch:

cd flex-2.6.1/
quilt new flex-rh1439367.patch
quilt add tests/test-bison-yylloc/parser.y
# edit tests/test-bison-yylloc/parser.y
# you may add and edit several files in the same fashion

Option 2: Add an already prepared patch (e.g. from an upstream commit):

cd flex-2.6.1/
quilt import -P flex-rh1439367.patch ~/backport/obsolete-bison.patch
quilt push # if this fails, manually deal with conflicts (as in Option 1)

Finally:
quilt refresh -p ab
cd ..
git add flex-rh1439367.patch
# edit flex.spec to build with the new patch
git add flex.spec
git commit

You're done!