media-libs/dssi: drop Werror

Closes: https://bugs.gentoo.org/775752
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-06-11 06:57:55 +01:00
parent 60a7259294
commit 2b333640bc
2 changed files with 16 additions and 1 deletions

View File

@@ -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

View File

@@ -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)