mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/injeqt: no Werror
Closes: https://bugs.gentoo.org/747577 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
This commit is contained in:
12
dev-libs/injeqt/files/injeqt-1.2.0-no-Werror.patch
Normal file
12
dev-libs/injeqt/files/injeqt-1.2.0-no-Werror.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -ruN injeqt-1.2.0/CMakeLists.txt injeqt-my/CMakeLists.txt
|
||||
--- injeqt-1.2.0/CMakeLists.txt 2017-04-21 11:40:08.000000000 +0200
|
||||
+++ injeqt-my/CMakeLists.txt 2020-10-14 02:04:12.645803149 +0200
|
||||
@@ -37,7 +37,7 @@
|
||||
cmake_policy (SET CMP0043 NEW)
|
||||
endif ()
|
||||
|
||||
-set (WARNINGS "-Werror -W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common")
|
||||
+set (WARNINGS "-W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common")
|
||||
set (VISIBILITY "-fvisibility=hidden -fvisibility-inlines-hidden")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${WARNINGS} ${VISIBILITY}")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -24,7 +24,10 @@ DEPEND="${RDEPEND}
|
||||
# https://github.com/vogel/injeqt/issues/18
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-gcc7.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc7.patch"
|
||||
"${FILESDIR}/${PN}-1.2.0-no-Werror.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
|
||||
Reference in New Issue
Block a user