File: pkg-config-directive.patch

package info (click to toggle)
libmems 1.6.0%2B4725-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,164 kB
  • sloc: cpp: 21,579; ansic: 4,313; xml: 115; makefile: 107; sh: 26
file content (17 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
Last-Update: 2015-04-19
Description: Fix lintian error
  E: libmems-1.6-dev: pkg-config-bad-directive usr/lib/x86_64-linux-gnu/pkgconfig/libMems-1.6.pc -Wno-deprecated
 by not appending "-Wno-deprecated"

--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ dnl Check what compiler we're using
 AM_CONDITIONAL(ICC, test x$CXX = xicc )
 EXTRA_CXX_FLAGS=""
 if( test x$CC == "xgcc" ) then
-	EXTRA_CXX_FLAGS="-Wno-deprecated"
+	EXTRA_CXX_FLAGS=""
 fi
 AC_SUBST(EXTRA_CXX_FLAGS)