[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/, dev-libs/pegtl/files/
commit: 0b231dd27792e4bcfb5d860095b26ed6e2c50eb5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Nov 28 21:33:07 2024 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Nov 29 13:46:52 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b231dd2 dev-libs/pegtl: drop 2.8.3-r1 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/pegtl/Manifest | 1 - dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch | 29 -- dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch | 43 --- dev-libs/pegtl/pegtl-2.8.3-r1.ebuild | 32 4 files changed, 105 deletions(-) diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest index 56ab343d3466..d1e85bf668b0 100644 --- a/dev-libs/pegtl/Manifest +++ b/dev-libs/pegtl/Manifest @@ -1,3 +1,2 @@ -DIST pegtl-2.8.3.tar.gz 201531 BLAKE2B 093d1b5f7d1f95fa00abdae9c24d24ba9ffd8510d6512c3460374f19b12d50403c19301645c5f6fc4d697cc687079c5b0d23c32b5775b30fbf05a154aeec2c19 SHA512 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71 DIST pegtl-3.2.7.tar.gz 249394 BLAKE2B d095ef337e1ff9e01692f07d0b110a685cbe447c36d7d294d0f18a15e076d15112b300232c5b4872b4a0b51d375799fc73261bff31c5b970a3d05b90b0ae6062 SHA512 e996be569e1c25377b13870c4f3e59f1935bbf24bb7c6edca0edc85b304fbe3d05db52a303839b0bd50c78769b773fc2237814787a703c58de8a79398210ee34 DIST pegtl-3.2.8.tar.gz 249571 BLAKE2B a0848ee9259ff5d498398dd2b2dec0c002c1945f4bb80de6c8fa7e5ecc94ec176203cd7c9117411bab37ab53fa17c16a7cf7aae90dd6215673deeb3ea94c43cb SHA512 aecf9396edbdd65549603484d1841cd676b197d164ee2979ee5acaf657da4fa9ebc1a59fc8550cfa440ce27794cdc59cdf86a6521e4bda084c0600cb2c92f5cf diff --git a/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch b/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch deleted file mode 100644 index 140e1f5cfbb8.. --- a/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch +++ /dev/null @@ -1,29 +0,0 @@ a/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 -+++ b/CMakeLists.txt 2020-12-27 00:00:15.886046938 +0100 -@@ -78,4 +78,3 @@ - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pegtl-config-version.cmake DESTINATION ${PEGTL_INSTALL_CMAKE_DIR}) - install(DIRECTORY include/ DESTINATION ${PEGTL_INSTALL_INCLUDE_DIR}) --install(FILES LICENSE DESTINATION ${PEGTL_INSTALL_DOC_DIR}) a/src/test/pegtl/CMakeLists.txt2020-04-22 19:43:00.0 +0200 -+++ b/src/test/pegtl/CMakeLists.txt2020-12-27 00:07:19.122766830 +0100 -@@ -123,7 +123,7 @@ - if(MSVC) - target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) - else() --target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) -+target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) - endif() - if(ANDROID) - add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../.. COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} "-DTEST_RESOURCES=src/test/pegtl/data;src/test/pegtl/file_data.txt;Makefile" -DTEST_RESOURCES_DIR=${CMAKE_CURRENT_SOURCE_DIR}/../../.. -DUNITTEST=${CMAKE_CURRENT_BINARY_DIR}/${exename} -DTEST_PARAMETER=-all -P ${CMAKE_CURRENT_SOURCE_DIR}/ExecuteOnAndroid.cmake) a/src/example/pegtl/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 -+++ b/src/example/pegtl/CMakeLists.txt 2020-12-27 00:07:32.970832890 +0100 -@@ -48,7 +48,7 @@ - if(MSVC) - target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) - else() --target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) -+target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) - endif() - endforeach(examplesourcefile) - 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.. --- 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 -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 ) -+{ -+ cons
[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/, dev-libs/pegtl/files/
commit: 03c4d12d640cff9d34811b25761dec6f8fb93b47 Author: Jakov Smolić gentoo org> AuthorDate: Fri Oct 1 07:22:36 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Fri Oct 1 07:24:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c4d12d dev-libs/pegtl: Remove old 3.2.0 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/pegtl/Manifest | 1 - dev-libs/pegtl/files/pegtl-3.2.0-no-werror.patch | 56 dev-libs/pegtl/pegtl-3.2.0.ebuild| 29 3 files changed, 86 deletions(-) diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest index 8fa741678e1..418d2b9e1c0 100644 --- a/dev-libs/pegtl/Manifest +++ b/dev-libs/pegtl/Manifest @@ -1,3 +1,2 @@ DIST pegtl-2.8.3.tar.gz 201531 BLAKE2B 093d1b5f7d1f95fa00abdae9c24d24ba9ffd8510d6512c3460374f19b12d50403c19301645c5f6fc4d697cc687079c5b0d23c32b5775b30fbf05a154aeec2c19 SHA512 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71 -DIST pegtl-3.2.0.tar.gz 233138 BLAKE2B 9be2cfcd90249fd57e08944533cb336f0617957c5571ef3d5371aa6da756a350ccb192b6e4e35da22b7b4e88b07e42f54eb5296c496a6b0feb544269a490f928 SHA512 3ec457e37d87d95f3a89c550abbf611a1ce094c2f05f6d23086e70079a9cabddb4c75e9121e764ad1768845a39e62ab49ca658ffed0f09d0e9a0e36501a162ae DIST pegtl-3.2.1.tar.gz 244746 BLAKE2B f1d4ab0bfbc0be09affc83ffdf07796705be949e1addd06e241b8c06dd34bea3844a34b6dfe143269e110279615238afa606944c52af32f8cf6ea34398c40c7b SHA512 6297adea085bb3043a60c28eb3a868a7c2d203b351f907ea3fdc4ef34c63f87a5786ac7d297531f8b8c8c3414f5ddef658a025a7bae2515bdc750e974975f6ff diff --git a/dev-libs/pegtl/files/pegtl-3.2.0-no-werror.patch b/dev-libs/pegtl/files/pegtl-3.2.0-no-werror.patch deleted file mode 100644 index 32bc4b5103e..000 --- a/dev-libs/pegtl/files/pegtl-3.2.0-no-werror.patch +++ /dev/null @@ -1,56 +0,0 @@ -https://bugs.gentoo.org/787854 - -From b807854fc6573d59350551578375075fc61a21e1 Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Tue, 15 Jun 2021 01:31:40 + -Subject: [PATCH] Drop -Werror - -Signed-off-by: Sam James - Makefile | 2 +- - src/example/pegtl/CMakeLists.txt | 2 +- - src/test/pegtl/CMakeLists.txt| 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index 3ecca07..2b8fa20 100644 a/Makefile -+++ b/Makefile -@@ -30,7 +30,7 @@ endif - # changed if desired. - - CPPFLAGS ?= -pedantic --CXXFLAGS ?= -Wall -Wextra -Wshadow -Werror -O3 $(MINGW_CXXFLAGS) -+CXXFLAGS ?= -Wall -Wextra -Wshadow $(MINGW_CXXFLAGS) - - HEADERS := $(shell find include -name '*.hpp') - SOURCES := $(shell find src -name '*.cpp') -diff --git a/src/example/pegtl/CMakeLists.txt b/src/example/pegtl/CMakeLists.txt -index d416731..4d1a417 100644 a/src/example/pegtl/CMakeLists.txt -+++ b/src/example/pegtl/CMakeLists.txt -@@ -60,7 +60,7 @@ foreach(examplesourcefile ${example_sources}) - if(MSVC) - target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) - else() --target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) -+target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) - endif() - endforeach() - -diff --git a/src/test/pegtl/CMakeLists.txt b/src/test/pegtl/CMakeLists.txt -index 577e310..84a8ab8 100644 a/src/test/pegtl/CMakeLists.txt -+++ b/src/test/pegtl/CMakeLists.txt -@@ -146,7 +146,7 @@ foreach(testsourcefile ${test_sources}) - if(MSVC) - target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) - else() --target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) -+target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) - endif() - if(ANDROID) - add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} "-DANDROID_NDK=${ANDROID_NDK}" "-DTEST_RESOURCES_DIR=${CMAKE_SOURCE_DIR}" "-DTEST_RESOURCES=src/test/pegtl/data;src/test/pegtl/file_data.txt;Makefile" "-DUNITTEST=${exename}" -P ${CMAKE_CURRENT_SOURCE_DIR}/ExecuteOnAndroid.cmake) --- -2.32.0 - diff --git a/dev-libs/pegtl/pegtl-3.2.0.ebuild b/dev-libs/pegtl/pegtl-3.2.0.ebuild deleted file mode 100644 index 439aa90eed5..000 --- a/dev-libs/pegtl/pegtl-3.2.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Header-only library for creating parsers according to Parsing Expression Grammar" -HOMEPAGE="https://github.com/taocpp/PEGTL"; -SRC_URI="https://github.com/taocpp/PEGTL/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P^^}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-3.2.0-no-werror.patch -) - -src_configure() { - loc
[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/, dev-libs/pegtl/files/
commit: c454b88c9586d36f19370b5718d7912d39ddd843 Author: Jakov Smolić gentoo org> AuthorDate: Fri Oct 1 07:21:54 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Fri Oct 1 07:24:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c454b88c dev-libs/pegtl: Version bump to 3.2.1 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/pegtl/Manifest | 1 + dev-libs/pegtl/files/pegtl-3.2.1-werror.patch | 33 +++ dev-libs/pegtl/pegtl-3.2.1.ebuild | 27 ++ 3 files changed, 61 insertions(+) diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest index 11b322f3689..8fa741678e1 100644 --- a/dev-libs/pegtl/Manifest +++ b/dev-libs/pegtl/Manifest @@ -1,2 +1,3 @@ DIST pegtl-2.8.3.tar.gz 201531 BLAKE2B 093d1b5f7d1f95fa00abdae9c24d24ba9ffd8510d6512c3460374f19b12d50403c19301645c5f6fc4d697cc687079c5b0d23c32b5775b30fbf05a154aeec2c19 SHA512 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71 DIST pegtl-3.2.0.tar.gz 233138 BLAKE2B 9be2cfcd90249fd57e08944533cb336f0617957c5571ef3d5371aa6da756a350ccb192b6e4e35da22b7b4e88b07e42f54eb5296c496a6b0feb544269a490f928 SHA512 3ec457e37d87d95f3a89c550abbf611a1ce094c2f05f6d23086e70079a9cabddb4c75e9121e764ad1768845a39e62ab49ca658ffed0f09d0e9a0e36501a162ae +DIST pegtl-3.2.1.tar.gz 244746 BLAKE2B f1d4ab0bfbc0be09affc83ffdf07796705be949e1addd06e241b8c06dd34bea3844a34b6dfe143269e110279615238afa606944c52af32f8cf6ea34398c40c7b SHA512 6297adea085bb3043a60c28eb3a868a7c2d203b351f907ea3fdc4ef34c63f87a5786ac7d297531f8b8c8c3414f5ddef658a025a7bae2515bdc750e974975f6ff diff --git a/dev-libs/pegtl/files/pegtl-3.2.1-werror.patch b/dev-libs/pegtl/files/pegtl-3.2.1-werror.patch new file mode 100644 index 000..776936bd399 --- /dev/null +++ b/dev-libs/pegtl/files/pegtl-3.2.1-werror.patch @@ -0,0 +1,33 @@ +--- a/Makefile b/Makefile +@@ -30,7 +30,7 @@ endif + # changed if desired. + + CPPFLAGS ?= -pedantic +-CXXFLAGS ?= -Wall -Wextra -Wshadow -Werror -O3 $(MINGW_CXXFLAGS) ++CXXFLAGS ?= -Wall -Wextra -Wshadow $(MINGW_CXXFLAGS) + + HEADERS := $(shell find include -name '*.hpp') + SOURCES := $(shell find src -name '*.cpp') +--- a/src/example/pegtl/CMakeLists.txt b/src/example/pegtl/CMakeLists.txt +@@ -60,7 +60,7 @@ foreach(examplesourcefile ${example_sources}) + if(MSVC) + target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) + else() +-target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) ++target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow ) + endif() + endforeach() + +--- a/src/test/pegtl/CMakeLists.txt b/src/test/pegtl/CMakeLists.txt +@@ -150,7 +150,7 @@ foreach(testsourcefile ${test_sources}) + if(MSVC) + target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) + else() +-target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) ++target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow ) + endif() + if(ANDROID) + add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} "-DANDROID_NDK=${ANDROID_NDK}" "-DTEST_RESOURCES_DIR=${CMAKE_SOURCE_DIR}" "-DTEST_RESOURCES=src/test/pegtl/data;src/test/pegtl/file_data.txt;Makefile" "-DUNITTEST=${exename}" -P ${CMAKE_CURRENT_SOURCE_DIR}/ExecuteOnAndroid.cmake) diff --git a/dev-libs/pegtl/pegtl-3.2.1.ebuild b/dev-libs/pegtl/pegtl-3.2.1.ebuild new file mode 100644 index 000..09fd47749d9 --- /dev/null +++ b/dev-libs/pegtl/pegtl-3.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only library for creating parsers according to Parsing Expression Grammar" +HOMEPAGE="https://github.com/taocpp/PEGTL"; +SRC_URI="https://github.com/taocpp/PEGTL/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^^}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}"/${P}-werror.patch +) + +src_configure() { + local mycmakeargs=( + -DPEGTL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}" + -DPEGTL_INSTALL_DOC_DIR="share/doc/${PF}" + ) + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/, dev-libs/pegtl/files/
commit: 993785709e60121bbd41f2265f3413d2037aaba6 Author: Sebastian Pipping gentoo org> AuthorDate: Mon Feb 8 13:29:05 2021 + Commit: Sebastian Pipping gentoo org> CommitDate: Mon Feb 8 13:38:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99378570 dev-libs/pegtl: Undelete pegtl-2.8.3-r1 for sys-apps/usbguard Bug: https://bugs.gentoo.org/767469 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2 dev-libs/pegtl/Manifest | 1 + dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch | 29 ++ dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch | 43 +++ dev-libs/pegtl/pegtl-2.8.3-r1.ebuild | 32 4 files changed, 105 insertions(+) diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest index a37630ae7dd..11b322f3689 100644 --- a/dev-libs/pegtl/Manifest +++ b/dev-libs/pegtl/Manifest @@ -1 +1,2 @@ +DIST pegtl-2.8.3.tar.gz 201531 BLAKE2B 093d1b5f7d1f95fa00abdae9c24d24ba9ffd8510d6512c3460374f19b12d50403c19301645c5f6fc4d697cc687079c5b0d23c32b5775b30fbf05a154aeec2c19 SHA512 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71 DIST pegtl-3.2.0.tar.gz 233138 BLAKE2B 9be2cfcd90249fd57e08944533cb336f0617957c5571ef3d5371aa6da756a350ccb192b6e4e35da22b7b4e88b07e42f54eb5296c496a6b0feb544269a490f928 SHA512 3ec457e37d87d95f3a89c550abbf611a1ce094c2f05f6d23086e70079a9cabddb4c75e9121e764ad1768845a39e62ab49ca658ffed0f09d0e9a0e36501a162ae diff --git a/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch b/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch new file mode 100644 index 000..140e1f5cfbb --- /dev/null +++ b/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch @@ -0,0 +1,29 @@ +--- a/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 b/CMakeLists.txt 2020-12-27 00:00:15.886046938 +0100 +@@ -78,4 +78,3 @@ + + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pegtl-config-version.cmake DESTINATION ${PEGTL_INSTALL_CMAKE_DIR}) + install(DIRECTORY include/ DESTINATION ${PEGTL_INSTALL_INCLUDE_DIR}) +-install(FILES LICENSE DESTINATION ${PEGTL_INSTALL_DOC_DIR}) +--- a/src/test/pegtl/CMakeLists.txt2020-04-22 19:43:00.0 +0200 b/src/test/pegtl/CMakeLists.txt2020-12-27 00:07:19.122766830 +0100 +@@ -123,7 +123,7 @@ + if(MSVC) + target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) + else() +-target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) ++target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) + endif() + if(ANDROID) + add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../.. COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} "-DTEST_RESOURCES=src/test/pegtl/data;src/test/pegtl/file_data.txt;Makefile" -DTEST_RESOURCES_DIR=${CMAKE_CURRENT_SOURCE_DIR}/../../.. -DUNITTEST=${CMAKE_CURRENT_BINARY_DIR}/${exename} -DTEST_PARAMETER=-all -P ${CMAKE_CURRENT_SOURCE_DIR}/ExecuteOnAndroid.cmake) +--- a/src/example/pegtl/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 b/src/example/pegtl/CMakeLists.txt 2020-12-27 00:07:32.970832890 +0100 +@@ -48,7 +48,7 @@ + if(MSVC) + target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) + else() +-target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) ++target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) + endif() + endforeach(examplesourcefile) + 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 new file mode 100644 index 000..ef418e44254 --- /dev/null +++ b/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch @@ -0,0 +1,43 @@ +From a3a292c2ba66bf09b4adc4cee8fcdfb1b1386067 Mon Sep 17 00:00:00 2001 +From: Daniel Frey +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 )
[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/, dev-libs/pegtl/files/
commit: dcae9821c0407c24b887bf1f5f77b8392cd04757 Author: Jakov Smolic sartura hr> AuthorDate: Sun Jan 24 13:48:24 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Jan 24 13:48:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcae9821 dev-libs/pegtl: Remove old Closes: https://github.com/gentoo/gentoo/pull/19181 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> dev-libs/pegtl/Manifest | 1 - dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch | 29 -- dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch | 43 --- dev-libs/pegtl/pegtl-2.8.3-r1.ebuild | 32 4 files changed, 105 deletions(-) diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest index 11b322f3689..a37630ae7dd 100644 --- a/dev-libs/pegtl/Manifest +++ b/dev-libs/pegtl/Manifest @@ -1,2 +1 @@ -DIST pegtl-2.8.3.tar.gz 201531 BLAKE2B 093d1b5f7d1f95fa00abdae9c24d24ba9ffd8510d6512c3460374f19b12d50403c19301645c5f6fc4d697cc687079c5b0d23c32b5775b30fbf05a154aeec2c19 SHA512 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71 DIST pegtl-3.2.0.tar.gz 233138 BLAKE2B 9be2cfcd90249fd57e08944533cb336f0617957c5571ef3d5371aa6da756a350ccb192b6e4e35da22b7b4e88b07e42f54eb5296c496a6b0feb544269a490f928 SHA512 3ec457e37d87d95f3a89c550abbf611a1ce094c2f05f6d23086e70079a9cabddb4c75e9121e764ad1768845a39e62ab49ca658ffed0f09d0e9a0e36501a162ae diff --git a/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch b/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch deleted file mode 100644 index 140e1f5cfbb..000 --- a/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch +++ /dev/null @@ -1,29 +0,0 @@ a/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 -+++ b/CMakeLists.txt 2020-12-27 00:00:15.886046938 +0100 -@@ -78,4 +78,3 @@ - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pegtl-config-version.cmake DESTINATION ${PEGTL_INSTALL_CMAKE_DIR}) - install(DIRECTORY include/ DESTINATION ${PEGTL_INSTALL_INCLUDE_DIR}) --install(FILES LICENSE DESTINATION ${PEGTL_INSTALL_DOC_DIR}) a/src/test/pegtl/CMakeLists.txt2020-04-22 19:43:00.0 +0200 -+++ b/src/test/pegtl/CMakeLists.txt2020-12-27 00:07:19.122766830 +0100 -@@ -123,7 +123,7 @@ - if(MSVC) - target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) - else() --target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) -+target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) - endif() - if(ANDROID) - add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../.. COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} "-DTEST_RESOURCES=src/test/pegtl/data;src/test/pegtl/file_data.txt;Makefile" -DTEST_RESOURCES_DIR=${CMAKE_CURRENT_SOURCE_DIR}/../../.. -DUNITTEST=${CMAKE_CURRENT_BINARY_DIR}/${exename} -DTEST_PARAMETER=-all -P ${CMAKE_CURRENT_SOURCE_DIR}/ExecuteOnAndroid.cmake) a/src/example/pegtl/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 -+++ b/src/example/pegtl/CMakeLists.txt 2020-12-27 00:07:32.970832890 +0100 -@@ -48,7 +48,7 @@ - if(MSVC) - target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) - else() --target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) -+target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) - endif() - endforeach(examplesourcefile) - 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 ef418e44254..000 --- 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 -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
[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/, dev-libs/pegtl/files/
commit: ea252dd70f621703bac7172a960e4cfd5e2b7cd0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 26 23:05:46 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 26 23:46:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea252dd7 dev-libs/pegtl: Fix GCC-10 warning, fix cmake module install path - Drop -Werror - Drop superfluous LICENSE install to invalid doc dir path. Bug: https://bugs.gentoo.org/754687 Closes: https://bugs.gentoo.org/733678 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch | 29 ++ dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch | 43 +++ dev-libs/pegtl/pegtl-2.8.3-r1.ebuild | 32 3 files changed, 104 insertions(+) diff --git a/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch b/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch new file mode 100644 index 000..140e1f5cfbb --- /dev/null +++ b/dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch @@ -0,0 +1,29 @@ +--- a/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 b/CMakeLists.txt 2020-12-27 00:00:15.886046938 +0100 +@@ -78,4 +78,3 @@ + + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pegtl-config-version.cmake DESTINATION ${PEGTL_INSTALL_CMAKE_DIR}) + install(DIRECTORY include/ DESTINATION ${PEGTL_INSTALL_INCLUDE_DIR}) +-install(FILES LICENSE DESTINATION ${PEGTL_INSTALL_DOC_DIR}) +--- a/src/test/pegtl/CMakeLists.txt2020-04-22 19:43:00.0 +0200 b/src/test/pegtl/CMakeLists.txt2020-12-27 00:07:19.122766830 +0100 +@@ -123,7 +123,7 @@ + if(MSVC) + target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) + else() +-target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) ++target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) + endif() + if(ANDROID) + add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../.. COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} "-DTEST_RESOURCES=src/test/pegtl/data;src/test/pegtl/file_data.txt;Makefile" -DTEST_RESOURCES_DIR=${CMAKE_CURRENT_SOURCE_DIR}/../../.. -DUNITTEST=${CMAKE_CURRENT_BINARY_DIR}/${exename} -DTEST_PARAMETER=-all -P ${CMAKE_CURRENT_SOURCE_DIR}/ExecuteOnAndroid.cmake) +--- a/src/example/pegtl/CMakeLists.txt 2020-04-22 19:43:00.0 +0200 b/src/example/pegtl/CMakeLists.txt 2020-12-27 00:07:32.970832890 +0100 +@@ -48,7 +48,7 @@ + if(MSVC) + target_compile_options(${exename} PRIVATE /W4 /WX /utf-8) + else() +-target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror) ++target_compile_options(${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow) + endif() + endforeach(examplesourcefile) + 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 new file mode 100644 index 000..ef418e44254 --- /dev/null +++ b/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch @@ -0,0 +1,43 @@ +From a3a292c2ba66bf09b4adc4cee8fcdfb1b1386067 Mon Sep 17 00:00:00 2001 +From: Daniel Frey +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; + diff --git a/dev-libs/pegtl/pegtl-2.8.3-r1.ebuild b/dev-libs/pegtl/pegtl-2.8.3-r1.ebuild new file mode 100644 index 000..7598786994b --- /dev/null +++ b/dev-libs/pegtl/pegtl-2.8.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTI