public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/files/, app-admin/ananicy-cpp/
@ 2024-03-05  9:29 Alberto Gireud
  0 siblings, 0 replies; only message in thread
From: Alberto Gireud @ 2024-03-05  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     28b45c9532feaf612bf3f673ee90b8ef54c1a5cf
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Tue Mar  5 09:19:56 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Tue Mar  5 09:21:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28b45c95

app-admin/ananicy-cpp: Revbump and add patch to remove debug flags from RELWITHDEBINFO build.

Closes: https://bugs.gentoo.org/887193
Signed-off-by: Alberto Gireud <agireud <AT> protonmail.com>

 ...cpp-1.1.1-r1.ebuild => ananicy-cpp-1.1.1-r2.ebuild} |  4 ++++
 .../files/ananicy-cpp-1.1.1-remove-debug-flags.patch   | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
similarity index 94%
rename from app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild
rename to app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
index f3481ad557..e97720ff94 100644
--- a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild
+++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
@@ -24,6 +24,10 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+	"${FILESDIR}/${P}-remove-debug-flags.patch"
+)
+
 src_configure() {
 	local mycmakeargs=(
 		-DENABLE_SYSTEMD=$(usex systemd)

diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp-1.1.1-remove-debug-flags.patch b/app-admin/ananicy-cpp/files/ananicy-cpp-1.1.1-remove-debug-flags.patch
new file mode 100644
index 0000000000..612eedddef
--- /dev/null
+++ b/app-admin/ananicy-cpp/files/ananicy-cpp-1.1.1-remove-debug-flags.patch
@@ -0,0 +1,18 @@
+Removes debug flags from RELWITHDEBINFO build.
+Bug: https://bugs.gentoo.org/887193
+Signed-off-by: Alberto Gireud <agireud@protonmail.com>
+
+index e1a041f..7e16d4c 100644
+--- a/cmake/CompilerChecks.cmake
++++ b/cmake/CompilerChecks.cmake
+@@ -22,8 +22,6 @@ set(CMAKE_MESSAGE_CONTEXT "")
+
+ if(CXX_ACCEPTS_G3)
+     set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
+-    set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_DEBUG} -g3")
+ elseif(CXX_ACCEPTS_G)
+     set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
+-    set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_DEBUG} -g")
+ endif()
+
+ if(CXX_ACCEPTS_OG)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-05  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05  9:29 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/files/, app-admin/ananicy-cpp/ Alberto Gireud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox