Package: portsmf / 0.1~svn20101010-6

fix-bad-pkg-config-directive.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix bad pkg-config directive
 portsmf adds its CXXFLAGS flags to the pkg-config cflags directive. This
 leaks its private compile flags to another package and could lead to
 build failures.
 .
 On Debian the flags "-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall" are leaked and cause lintian to
 complain.
Author: Benjamin Drung <bdrung@debian.org>

--- a/portSMF.pc.in
+++ b/portSMF.pc.in
@@ -7,4 +7,4 @@
 Version: 0.1
 
 Libs: -L${libdir} -lportSMF @LIBS@
-Cflags: -I${includedir} @CXXFLAGS@
+Cflags: -I${includedir}