diff --git a/SPECS-EXTENDED/PEGTL/PEGTL-compiler-warning.patch b/SPECS-EXTENDED/PEGTL/PEGTL-compiler-warning.patch deleted file mode 100644 index d8bf7d7af8e..00000000000 --- a/SPECS-EXTENDED/PEGTL/PEGTL-compiler-warning.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/include/tao/pegtl/contrib/rep_one_min_max.hpp b/include/tao/pegtl/contrib/rep_one_min_max.hpp -index 9173ad4a..2c9c25e6 100644 ---- a/include/tao/pegtl/contrib/rep_one_min_max.hpp -+++ b/include/tao/pegtl/contrib/rep_one_min_max.hpp -@@ -45,6 +45,27 @@ namespace tao - } - }; - -+ template< unsigned Max, char C > -+ struct rep_one_min_max< 0, Max, C > -+ { -+ using analyze_t = analysis::counted< analysis::rule_type::any, 0 >; -+ -+ template< typename Input > -+ static bool match( Input& in ) -+ { -+ const auto size = in.size( Max + 1 ); -+ std::size_t i = 0; -+ while( ( i < size ) && ( in.peek_char( i ) == C ) ) { -+ ++i; -+ } -+ if( i <= Max ) { -+ bump_help< result_on_found::success, Input, char, C >( in, i ); -+ return true; -+ } -+ return false; -+ } -+ }; -+ - template< unsigned Min, unsigned Max, char C > - struct skip_control< rep_one_min_max< Min, Max, C > > : std::true_type - { diff --git a/SPECS-EXTENDED/PEGTL/PEGTL.signatures.json b/SPECS-EXTENDED/PEGTL/PEGTL.signatures.json index 4e4932c7186..8cc44a4f231 100644 --- a/SPECS-EXTENDED/PEGTL/PEGTL.signatures.json +++ b/SPECS-EXTENDED/PEGTL/PEGTL.signatures.json @@ -1,5 +1,5 @@ { "Signatures": { - "PEGTL-2.8.3.tar.gz": "88b8e4ded6ea1f3f2223cc3e37072e2db1e123b90d36c309816341ae9d966723" + "PEGTL-3.2.8.tar.gz": "319e8238daebc3a163f60c88c78922a8012772076fdd64a8dafaf5619cd64773" } } diff --git a/SPECS-EXTENDED/PEGTL/PEGTL.spec b/SPECS-EXTENDED/PEGTL/PEGTL.spec index 3036f001f79..cd26290e376 100644 --- a/SPECS-EXTENDED/PEGTL/PEGTL.spec +++ b/SPECS-EXTENDED/PEGTL/PEGTL.spec @@ -3,17 +3,14 @@ Distribution: Azure Linux %global debug_package %{nil} Name: PEGTL -Version: 2.8.3 -Release: 2%{?dist} +Version: 3.2.8 +Release: 1%{?dist} Summary: Parsing Expression Grammar Template Library License: MIT URL: https://github.com/taocpp/%{name}/ -Source0: https://github.com/taocpp/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz - +Source0: https://github.com/taocpp/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: /usr/bin/make - -Patch0: PEGTL-compiler-warning.patch +BuildRequires: /usr/bin/make %description The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency @@ -33,8 +30,6 @@ applications that use %{name}. %prep %setup -q -n %{name}-%{version} -%patch 0 -p1 -b .compiler - %check make @@ -51,6 +46,10 @@ popd %{_includedir}/tao/pegtl %changelog +* Fri Oct 14 2024 Jyoti Kanase - 3.2.8-1 +- Update version to 3.2.8 +- License Verified. + * Fri Oct 15 2021 Pawel Winogrodzki - 2.8.3-2 - Initial CBL-Mariner import from Fedora 33 (license: MIT). diff --git a/cgmanifest.json b/cgmanifest.json index d77861bcef0..7caeb036549 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -15863,8 +15863,8 @@ "type": "other", "other": { "name": "PEGTL", - "version": "2.8.3", - "downloadUrl": "https://github.com/taocpp/PEGTL/archive/2.8.3.tar.gz" + "version": "3.2.8", + "downloadUrl": "https://github.com/taocpp/PEGTL/archive/refs/tags/3.2.8.tar.gz" } } },