File libpgm-5.2.122-pkg-config-do-not-add-I-to-non-existing-directory.patch of Package openpgm.13145

Author: Luca Boccassi <bluca@debian.org>
Description: pkg-config: do not add -I to non-existing directory
 foo/lib/pgm-5.2/include does not exist, so applications using strict
 compiler flags will fail to build due to this -I flag
Origin: https://github.com/steve-o/openpgm/pull/57
--- pgm.orig/openpgm-5.2.pc.in
+++ pgm/openpgm-5.2.pc.in
@@ -9,4 +9,4 @@ Version: @PACKAGE_VERSION@
 # packagers may wish to move @LIBS@ to Libs.private for platforms with
 # versions of pkg-config that support static linking.
 Libs: -L${libdir} -lpgm @LIBS@
-Cflags: -I${includedir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@ -I${libdir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@/include
+Cflags: -I${includedir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@
openSUSE Build Service is sponsored by