public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/liberasurecode/files/, dev-libs/liberasurecode/
@ 2025-07-28  4:52 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-07-28  4:52 UTC (permalink / raw
  To: gentoo-commits

commit:     18c8f1f1e6a990dcfd4530c627e9419236ab4f2a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 28 03:49:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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


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

only message in thread, other threads:[~2025-07-28  4:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28  4:52 [gentoo-commits] repo/gentoo:master commit in: dev-libs/liberasurecode/files/, dev-libs/liberasurecode/ Sam James

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