libsigc__2/libsigc++-std-c11.patch
Bjørn Lie 84afce388a Accepting request 357811 from GNOME:Next
- Add libsigc++-std-c11.patch: Add -std=c11 to CFLAGS in the .pc
  file. This allows other packages building against libsigc++ to
  be aware of the C11 requirement we bring. libsigc++ itself checks
  for the availability during configure, so it is safe to pass this
  requirement on.

OBS-URL: https://build.opensuse.org/request/show/357811
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++2?expand=0&rev=42
2016-02-04 23:25:16 +00:00

11 lines
560 B
Diff

Index: libsigc++-2.6.2/sigc++.pc.in
===================================================================
--- libsigc++-2.6.2.orig/sigc++.pc.in
+++ libsigc++-2.6.2/sigc++.pc.in
@@ -15,4 +15,4 @@ Description: Typesafe signal and callbac
Version: @PACKAGE_VERSION@
URL: http://libsigc.sourceforge.net/
Libs: -L${libdir} -lsigc-@SIGCXX_API_VERSION@
-Cflags: -I${includedir}/sigc++-@SIGCXX_API_VERSION@ -I${libdir}/sigc++-@SIGCXX_API_VERSION@/include
+Cflags: -I${includedir}/sigc++-@SIGCXX_API_VERSION@ -I${libdir}/sigc++-@SIGCXX_API_VERSION@/include -std=c++11