forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-sound/sndfile-tools: Prevent configure adding -Werror to CFLAGS
Gentoo-Bug: 542120 * EAPI=6 Package-Manager: portage-2.2.27
- Loading branch information
1 parent
6221304
commit 5d93631
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
media-sound/sndfile-tools/files/sndfile-tools-1.03-remove-Werror.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Remove -Werror from CFLAGS causing all sorts of havoc due to | ||
deprecated declarations in media-sound/jack-audio-connection-kit | ||
See also: https://bugs.gentoo.org/show_bug.cgi?id=542120 | ||
|
||
--- sndfile-tools-1.03/configure | ||
+++ sndfile-tools-1.03/configure | ||
@@ -11397,9 +11397,6 @@ | ||
CFLAGS="$CFLAGS -std=gnu99 -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith" | ||
# -Wundef -Wbad-function-cast -Wmissing-declarations -Wconversion -Winline" | ||
|
||
- if test x$ac_arg_gcc_werror = "xyes" ; then | ||
- CFLAGS="-Werror $CFLAGS" | ||
- fi | ||
|
||
|
||
$as_echo "#define COMPILER_IS_GCC 1" >>confdefs.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
DESCRIPTION="A small collection of programs that use libsndfile" | ||
HOMEPAGE="http://www.mega-nerd.com/libsndfile/tools/" | ||
SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
RDEPEND=">=media-libs/libsndfile-1.0.19 | ||
>=x11-libs/cairo-1.4.0 | ||
sci-libs/fftw:3.0 | ||
media-sound/jack-audio-connection-kit" | ||
DEPEND="virtual/pkgconfig | ||
${RDEPEND}" | ||
PATCHES=( | ||
"${FILESDIR}/${P}-remove-Werror.patch" | ||
) |