From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA35615808A for ; Mon, 28 Jul 2025 04:52:12 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7C636341F5E for ; Mon, 28 Jul 2025 04:52:12 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EA1A31102A2; Mon, 28 Jul 2025 04:52:10 +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 bobolink.gentoo.org (Postfix) with ESMTPS id D8B001102A2 for ; Mon, 28 Jul 2025 04:52:10 +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 8D632340D9E for ; Mon, 28 Jul 2025 04:52:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F108E32AE for ; Mon, 28 Jul 2025 04:52:08 +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: <1753678297.18c8f1f1e6a990dcfd4530c627e9419236ab4f2a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liberasurecode/files/, dev-libs/liberasurecode/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/liberasurecode/files/liberasurecode-1.6.5-no-werror.patch dev-libs/liberasurecode/liberasurecode-1.6.5.ebuild X-VCS-Directories: dev-libs/liberasurecode/ dev-libs/liberasurecode/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 18c8f1f1e6a990dcfd4530c627e9419236ab4f2a X-VCS-Branch: master Date: Mon, 28 Jul 2025 04:52:08 +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: d0bd2bb6-a398-4e5e-a2bb-d34e3d0893ec X-Archives-Hash: f8ac38f8db938089cc1e3a2662066889 commit: 18c8f1f1e6a990dcfd4530c627e9419236ab4f2a Author: Sam James gentoo org> AuthorDate: Mon Jul 28 03:49:31 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 28 04:51:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c8f1f1 dev-libs/liberasurecode: avoid -Werror more Signed-off-by: Sam James gentoo.org> .../files/liberasurecode-1.6.5-no-werror.patch | 23 ++++++++++++++++++++++ .../liberasurecode/liberasurecode-1.6.5.ebuild | 4 ++++ 2 files changed, 27 insertions(+) diff --git a/dev-libs/liberasurecode/files/liberasurecode-1.6.5-no-werror.patch b/dev-libs/liberasurecode/files/liberasurecode-1.6.5-no-werror.patch new file mode 100644 index 000000000000..302bab87d63d --- /dev/null +++ b/dev-libs/liberasurecode/files/liberasurecode-1.6.5-no-werror.patch @@ -0,0 +1,23 @@ +Not all parts of the build respect --disable-werror. +--- a/Makefile.am ++++ b/Makefile.am +@@ -8,7 +8,7 @@ INCLUDE = -I$(abs_top_builddir)/include \ + -I$(abs_top_builddir)/include/xor_codes + + AM_CPPFLAGS = $(CPPFLAGS) $(INCLUDE) +-AM_CPPFLAGS += -Werror -Wall ++AM_CPPFLAGS += -Wall + + AM_CFLAGS = -fPIC $(AM_CPPFLAGS) @GCOV_FLAGS@ -L/usr/local/lib + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -32,7 +32,7 @@ liberasurecode_la_SOURCES = \ + backends/shss/shss.c \ + backends/phazrio/libphazr.c + +-liberasurecode_la_CPPFLAGS = -Werror @GCOV_FLAGS@ ++liberasurecode_la_CPPFLAGS = @GCOV_FLAGS@ + liberasurecode_la_LIBADD = \ + builtin/null_code/libnullcode.la \ + builtin/xor_codes/libXorcode.la \ diff --git a/dev-libs/liberasurecode/liberasurecode-1.6.5.ebuild b/dev-libs/liberasurecode/liberasurecode-1.6.5.ebuild index 445fcb804c6d..4beb5783515b 100644 --- a/dev-libs/liberasurecode/liberasurecode-1.6.5.ebuild +++ b/dev-libs/liberasurecode/liberasurecode-1.6.5.ebuild @@ -23,6 +23,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${PN}-1.6.5-no-werror.patch +) + src_prepare() { default eautoreconf