commit: 2b333640bce1abbabdf5b3341242e350f603328c Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jun 11 05:57:55 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jun 11 05:57:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b333640
media-libs/dssi: drop Werror Closes: https://bugs.gentoo.org/775752 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/dssi/dssi-1.1.1-r1.ebuild | 7 ++++++- media-libs/dssi/files/dssi-1.1.1-no-werror.patch | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/media-libs/dssi/dssi-1.1.1-r1.ebuild b/media-libs/dssi/dssi-1.1.1-r1.ebuild index 686a3cb12271..8332b8f80e88 100644 --- a/media-libs/dssi/dssi-1.1.1-r1.ebuild +++ b/media-libs/dssi/dssi-1.1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,8 +23,13 @@ DEPEND="${RDEPEND} sys-apps/sed virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-1.1.1-no-werror.patch +) + src_prepare() { default + sed -i \ -e 's:libdir=.*:libdir=@libdir@:' \ dssi.pc.in || die diff --git a/media-libs/dssi/files/dssi-1.1.1-no-werror.patch b/media-libs/dssi/files/dssi-1.1.1-no-werror.patch new file mode 100644 index 000000000000..2ca32388a4ee --- /dev/null +++ b/media-libs/dssi/files/dssi-1.1.1-no-werror.patch @@ -0,0 +1,10 @@ +https://bugs.gentoo.org/775752 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -6,5 +6,5 @@ check_PROGRAMS = controller + + controller_SOURCES = controller.c ../dssi/dssi.h + +-controller_CFLAGS = -Wall -Werror -I$(top_srcdir)/dssi $(ALSA_CFLAGS) ++controller_CFLAGS = -Wall -I$(top_srcdir)/dssi $(ALSA_CFLAGS) +