mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-admin/hardinfo2: remove patch
Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
diff '--color=auto' -aur a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt 2024-11-28 02:48:17.057740689 -0600
|
||||
+++ b/CMakeLists.txt 2024-11-28 02:51:56.721795566 -0600
|
||||
@@ -495,7 +495,7 @@
|
||||
modules/benchmark/md5.c
|
||||
modules/benchmark/sha1.c
|
||||
PROPERTIES
|
||||
- COMPILE_FLAGS "-O0 -Wall -Wextra -Werror=implicit-function-declaration"
|
||||
+ COMPILE_FLAGS "-Wall -Wextra -Werror=implicit-function-declaration"
|
||||
)
|
||||
|
||||
set_source_files_properties(
|
||||
@@ -43,7 +43,10 @@ RDEPEND="
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/remove-optimization-flag.patch" )
|
||||
src_prepare() {
|
||||
sed -i -e 's:-O0 ::' CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -O*
|
||||
|
||||
Reference in New Issue
Block a user