From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F28BC158046 for ; Thu, 10 Oct 2024 21:07:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8956FE2AAC; Thu, 10 Oct 2024 21:07:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D01EE2AAC for ; Thu, 10 Oct 2024 21:07:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36C433430F8 for ; Thu, 10 Oct 2024 21:07:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CBE0116A for ; Thu, 10 Oct 2024 21:07:24 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1728594176.4e094406d554b1c8240a662ed0e8afa1f09cd9d1.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/boinc-wrapper/, sci-misc/boinc-wrapper/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild sci-misc/boinc-wrapper/boinc-wrapper-26018-r3.ebuild sci-misc/boinc-wrapper/files/boinc-wrapper-26018-makefile.patch X-VCS-Directories: sci-misc/boinc-wrapper/files/ sci-misc/boinc-wrapper/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 4e094406d554b1c8240a662ed0e8afa1f09cd9d1 X-VCS-Branch: dev Date: Thu, 10 Oct 2024 21:07:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cc400b96-98ef-468f-a9c7-5a6f1736e03a X-Archives-Hash: fda2ca7d4c0932be9a9cc695ff4cc3aa commit: 4e094406d554b1c8240a662ed0e8afa1f09cd9d1 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Oct 10 21:02:56 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Oct 10 21:02:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e094406 sci-misc/boinc-wrapper: fix cflags Also don't link C++ stdlib statically and mark implicit decls. Closes: https://bugs.gentoo.org/887995 Closes: https://bugs.gentoo.org/904138 Closes: https://bugs.gentoo.org/922046 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> ...018-r1.ebuild => boinc-wrapper-26018-r3.ebuild} | 36 ++++++++++++++++------ .../files/boinc-wrapper-26018-makefile.patch | 13 ++++++++ 2 files changed, 39 insertions(+), 10 deletions(-) diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild b/sci-misc/boinc-wrapper/boinc-wrapper-26018-r3.ebuild similarity index 56% rename from sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild rename to sci-misc/boinc-wrapper/boinc-wrapper-26018-r3.ebuild index e388e52a2..f065fe7a5 100644 --- a/sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild +++ b/sci-misc/boinc-wrapper/boinc-wrapper-26018-r3.ebuild @@ -13,16 +13,18 @@ LICENSE="Info-ZIP LGPL-3+ regexp-UofT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -# libboinc-api dependencies -# no subslot, because "-Wl,--as-needed" removes them -DEPEND=" - dev-libs/openssl - media-libs/freeglut - media-libs/libjpeg-turbo -" - DOCS=( job.xml ) +PATCHES=( + "${FILESDIR}"/${PN}-26018-makefile.patch + "${FILESDIR}"/${PN}-26018-sigstop.patch +) + +QA_CONFIG_IMPL_DECL_SKIP=( + # https://bugs.gentoo.org/922046 + "_mm*" +) + src_prepare() { default eautoreconf @@ -30,12 +32,26 @@ src_prepare() { src_configure() { edo bash generate_svn_version.sh - econf --enable-static --enable-pkg-devel --disable-fcgi + + local myeconfargs=( + # build libraries only + --enable-pkg-devel + --disable-fcgi + + # link with libboinc_api statically + --disable-shared + --enable-static + + # do not build libboinc_graphics + --without-x + ax_cv_check_gl_libgl=no + ) + econf "${myeconfargs[@]}" } src_compile() { emake - emake -C samples/wrapper + emake -C samples/wrapper MAKEFILE_LDFLAGS="-lpthread" MAKEFILE_STDLIB= } src_install() { diff --git a/sci-misc/boinc-wrapper/files/boinc-wrapper-26018-makefile.patch b/sci-misc/boinc-wrapper/files/boinc-wrapper-26018-makefile.patch new file mode 100644 index 000000000..c1329d6b1 --- /dev/null +++ b/sci-misc/boinc-wrapper/files/boinc-wrapper-26018-makefile.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/904138 + +--- a/samples/wrapper/Makefile ++++ b/samples/wrapper/Makefile +@@ -22,7 +22,7 @@ else + MAKEFILE_STDLIB = libstdc++.a + endif + +-CXXFLAGS += -g -O0 \ ++CXXFLAGS += \ + -Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fno-common \ + -I$(BOINC_DIR) \ + -I$(BOINC_LIB_DIR) \