summaryrefslogtreecommitdiff
path: root/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-27 18:53:03 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-27 18:53:03 +0000
commit3482ddf943eff7b8848f1fb31350b99ce349e86a (patch)
tree9c9bb6ec6679e9dc44a84d87ba611989409b12ca /dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch
parent8e8120eabdd28020aa69c7a60505cce2edd20adc (diff)
downloadbaldeagleos-repo-21.1.3.tar.gz
baldeagleos-repo-21.1.3.tar.xz
baldeagleos-repo-21.1.3.zip
Updating liguros repov21.1.3
Diffstat (limited to 'dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch')
-rw-r--r--dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch b/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch
deleted file mode 100644
index ef418e44254e..000000000000
--- a/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From a3a292c2ba66bf09b4adc4cee8fcdfb1b1386067 Mon Sep 17 00:00:00 2001
-From: Daniel Frey <d.frey@gmx.de>
-Date: Mon, 11 May 2020 22:19:31 +0200
-Subject: [PATCH] Repair warning from GCC 10
-
-* Backported patch thx to Fedora.
-
----
- include/tao/pegtl/contrib/rep_one_min_max.hpp | 21 +++++++++++++++++++
- 1 file changed, 21 insertions(+)
-
-diff --git a/include/tao/pegtl/contrib/rep_one_min_max.hpp b/include/tao/pegtl/contrib/rep_one_min_max.hpp
-index 7ec4639e..ee0a3782 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 >
- inline constexpr bool enable_control< rep_one_min_max< Min, Max, C > > = false;
-