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 AAC9D1592C2 for ; Mon, 17 Apr 2023 00:51:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77E84E09DF; Mon, 17 Apr 2023 00:51:54 +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 4BF60E09DF for ; Mon, 17 Apr 2023 00:51:54 +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 3353733BEED for ; Mon, 17 Apr 2023 00:51:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93201A3A for ; Mon, 17 Apr 2023 00:51:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1681692648.a70936797b3e090b9e7396bd1765134d11a91a1c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlsec/, dev-libs/xmlsec/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch dev-libs/xmlsec/xmlsec-1.3.0-r1.ebuild dev-libs/xmlsec/xmlsec-1.3.0.ebuild X-VCS-Directories: dev-libs/xmlsec/ dev-libs/xmlsec/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a70936797b3e090b9e7396bd1765134d11a91a1c X-VCS-Branch: master Date: Mon, 17 Apr 2023 00:51:51 +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: 228523ed-cfbd-4608-a871-26054f1341b3 X-Archives-Hash: c439c99ac7643db3a7a53f95a8d7c128 commit: a70936797b3e090b9e7396bd1765134d11a91a1c Author: Sam James gentoo org> AuthorDate: Mon Apr 17 00:50:33 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Apr 17 00:50:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7093679 dev-libs/xmlsec: respect CFLAGS Don't force -O. Signed-off-by: Sam James gentoo.org> dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch | 11 +++++++++++ .../xmlsec/{xmlsec-1.3.0.ebuild => xmlsec-1.3.0-r1.ebuild} | 9 +++++++++ 2 files changed, 20 insertions(+) diff --git a/dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch b/dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch new file mode 100644 index 000000000000..2cd0401e019d --- /dev/null +++ b/dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -2482,7 +2482,7 @@ AC_ARG_ENABLE([pedantic], [AS_HELP_STRING([--enable-pedantic],[enable pedantic c + if test "z$enable_pedantic" = "zno" ; then + AC_MSG_RESULT([disabled]) + else +- CFLAGS="$CFLAGS -O -std=c99 -pedantic -pedantic-errors -W -Wall -Wextra" ++ CFLAGS="$CFLAGS -std=c99 -pedantic -W -Wall -Wextra" + CFLAGS="$CFLAGS -fno-inline -Wnull-dereference -Wdouble-promotion" + CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -Wformat-nonliteral" + CFLAGS="$CFLAGS -Wconversion -Wunused -Wshadow -Wpointer-arith -Wcast-align" diff --git a/dev-libs/xmlsec/xmlsec-1.3.0.ebuild b/dev-libs/xmlsec/xmlsec-1.3.0-r1.ebuild similarity index 94% rename from dev-libs/xmlsec/xmlsec-1.3.0.ebuild rename to dev-libs/xmlsec/xmlsec-1.3.0-r1.ebuild index e0191245d162..e90f0e76d9e9 100644 --- a/dev-libs/xmlsec/xmlsec-1.3.0.ebuild +++ b/dev-libs/xmlsec/xmlsec-1.3.0-r1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit autotools + DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" HOMEPAGE="https://www.aleksey.com/xmlsec" SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" @@ -43,8 +45,15 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-strict-prototypes.patch "${FILESDIR}"/${P}-clang.patch + "${FILESDIR}"/${P}-optimisation.patch ) +src_prepare() { + default + + eautoreconf +} + src_configure() { local myeconfargs=( $(use_enable doc docs)