From 4c03527b6c6455c9c9f610fe925ab171bcb607a080fd9cd4ade134f9a3d8614e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 11 Mar 2019 08:39:22 +0000 Subject: [PATCH 1/2] Accepting request 683637 from home:cbcoutinho:branches:devel:tools:compiler - Update re2c to 1.1.1 From the CHANGELOG: Version 1.1.1 (2018-08-30) -------------------------- - Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). Version 1.1 (2018-08-27) -------------------------- - Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm. - Optimized GOR1 algorithm (computation of tagged epsilon-closure). - Added option "--conditions" (an alias for "-c" and "--start-conditions"). - Fixed bug #201 Bugs with option: 're2c:flags:no-debug-info'. - Reworked first part of TDFA paper. OBS-URL: https://build.opensuse.org/request/show/683637 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=30 --- re2c-1.0.3.tar.gz | 3 --- re2c-1.1.1.tar.gz | 3 +++ re2c-nogenerationdatedefault.patch | 24 +++++++++++------------- re2c.changes | 19 +++++++++++++++++++ re2c.spec | 6 +++--- 5 files changed, 36 insertions(+), 19 deletions(-) delete mode 100644 re2c-1.0.3.tar.gz create mode 100644 re2c-1.1.1.tar.gz diff --git a/re2c-1.0.3.tar.gz b/re2c-1.0.3.tar.gz deleted file mode 100644 index 90c2ed7..0000000 --- a/re2c-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf56e0de3f335f6a22d3e8c06b8b450d858a4e7875ea1b01c9233e084b90cb52 -size 5806555 diff --git a/re2c-1.1.1.tar.gz b/re2c-1.1.1.tar.gz new file mode 100644 index 0000000..ed89d72 --- /dev/null +++ b/re2c-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:856597337ea00b24ce91f549f79e6eece1b92ba5f8b63292cad66c14ac7451cf +size 5907416 diff --git a/re2c-nogenerationdatedefault.patch b/re2c-nogenerationdatedefault.patch index 8eb7e70..90e7b47 100644 --- a/re2c-nogenerationdatedefault.patch +++ b/re2c-nogenerationdatedefault.patch @@ -1,13 +1,11 @@ -Index: re2c-1.0.2/src/conf/opt.h -=================================================================== ---- re2c-1.0.2.orig/src/conf/opt.h -+++ re2c-1.0.2/src/conf/opt.h -@@ -44,7 +44,7 @@ enum target_t - CONSTOPT1 (target_t, target, TARGET_CODE) \ - CONSTOPT (std::string, output_file, "") \ - CONSTOPT (std::string, header_file, "") \ -- CONSTOPT (bool, bNoGenerationDate, false) \ -+ CONSTOPT (bool, bNoGenerationDate, true) \ - CONSTOPT (bool, version, true) \ - CONSTOPT (bool, cFlag, false) \ - CONSTOPT (bool, fFlag, false) \ +--- re2c-1.1.1.orig/src/conf/opt.h 2018-08-31 00:06:42.000000000 +0200 ++++ re2c-1.1.1/src/conf/opt.h 2019-03-11 01:05:35.827581766 +0100 +@@ -44,7 +44,7 @@ + CONSTOPT1 (target_t, target, TARGET_CODE) \ + CONSTOPT (std::string, output_file, "") \ + CONSTOPT (std::string, header_file, "") \ +- CONSTOPT (bool, bNoGenerationDate, false) \ ++ CONSTOPT (bool, bNoGenerationDate, true) \ + CONSTOPT (bool, version, true) \ + CONSTOPT (bool, cFlag, false) \ + CONSTOPT (bool, fFlag, false) \ diff --git a/re2c.changes b/re2c.changes index 5544718..8b9b177 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Mar 11 00:09:53 UTC 2019 - Chris Coutinho + +- Update re2c to 1.1.1 + +From the CHANGELOG: + +Version 1.1.1 (2018-08-30) +-------------------------- +- Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). + +Version 1.1 (2018-08-27) +-------------------------- +- Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm. +- Optimized GOR1 algorithm (computation of tagged epsilon-closure). +- Added option "--conditions" (an alias for "-c" and "--start-conditions"). +- Fixed bug #201 Bugs with option: 're2c:flags:no-debug-info'. +- Reworked first part of TDFA paper. + ------------------------------------------------------------------- Thu Mar 15 10:11:22 UTC 2018 - mpluskal@suse.com diff --git a/re2c.spec b/re2c.spec index d7a7464..a070470 100644 --- a/re2c.spec +++ b/re2c.spec @@ -1,7 +1,7 @@ # # spec file for package re2c # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: re2c -Version: 1.0.3 +Version: 1.1.1 Release: 0 Summary: Tool for generating C-based recognizers from regular expressions License: SUSE-Public-Domain From 4fb8e5dd770b2d4550eabd16b6ff1a1634ee97c8b9e8012ecdb759635b0ff1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 11 Mar 2019 08:40:08 +0000 Subject: [PATCH 2/2] * Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). * Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm. * Optimized GOR1 algorithm (computation of tagged epsilon-closure). * Added option "--conditions" (an alias for "-c" and "--start-conditions"). * Fixed bug #201 Bugs with option: 're2c:flags:no-debug-info'. * Reworked first part of TDFA paper. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=31 --- re2c.changes | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/re2c.changes b/re2c.changes index 8b9b177..994530f 100644 --- a/re2c.changes +++ b/re2c.changes @@ -2,20 +2,12 @@ Mon Mar 11 00:09:53 UTC 2019 - Chris Coutinho - Update re2c to 1.1.1 - -From the CHANGELOG: - -Version 1.1.1 (2018-08-30) --------------------------- -- Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). - -Version 1.1 (2018-08-27) --------------------------- -- Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm. -- Optimized GOR1 algorithm (computation of tagged epsilon-closure). -- Added option "--conditions" (an alias for "-c" and "--start-conditions"). -- Fixed bug #201 Bugs with option: 're2c:flags:no-debug-info'. -- Reworked first part of TDFA paper. + * Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). + * Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm. + * Optimized GOR1 algorithm (computation of tagged epsilon-closure). + * Added option "--conditions" (an alias for "-c" and "--start-conditions"). + * Fixed bug #201 Bugs with option: 're2c:flags:no-debug-info'. + * Reworked first part of TDFA paper. ------------------------------------------------------------------- Thu Mar 15 10:11:22 UTC 2018 - mpluskal@suse.com