From 59bdd616c358ebaafc53dce2074aff4cba9de451 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Sat, 24 Sep 2016 12:14:37 +0200 Subject: [PATCH] gstreamer1: fix gcc-6.2.1 build --- srcpkgs/gstreamer1/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gstreamer1/template b/srcpkgs/gstreamer1/template index d3cedb0d5c..5aa0bfb7ba 100644 --- a/srcpkgs/gstreamer1/template +++ b/srcpkgs/gstreamer1/template @@ -2,7 +2,7 @@ pkgname=gstreamer1 reverts="1:1.4.5_1" version=1.8.3 -revision=2 +revision=3 wrksrc="gstreamer-${version#*:}" build_style=gnu-configure configure_args="--disable-valgrind --enable-docbook @@ -24,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then fi pre_configure() { + # Remove a non-existing include path from the gstreamer.pc.in file, + # or otherwise building pkgs which enable -Werror fail to build with + # gcc-6.2.1 which issues a warning for non existing -I/some/path args. + # There is no ./usr/lib/gstreamer-1.0/include path in this pkg. + sed -i pkgconfig/gstreamer.pc.in \ + -e 's; -I${libdir}/gstreamer-@GST_API_VERSION@/include;;' NOCONFIGURE=1 ./autogen.sh }