mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/pegtl: Remove old 3.2.0
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
https://bugs.gentoo.org/787854
|
||||
|
||||
From b807854fc6573d59350551578375075fc61a21e1 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Tue, 15 Jun 2021 01:31:40 +0000
|
||||
Subject: [PATCH] Drop -Werror
|
||||
|
||||
Signed-off-by: Sam James <sam@gentoo.org>
|
||||
---
|
||||
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
|
||||
|
||||
@@ -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() {
|
||||
local mycmakeargs=(
|
||||
-DPEGTL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}"
|
||||
-DPEGTL_INSTALL_DOC_DIR="share/doc/${PF}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user