[PATCH] Get inkscape to build against recent libsigc++ which requires -std=c++11
Bug #1570007 reported by
Shlomi Fish
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Shlomi Fish |
Bug Description
The cmake build against recent libsigc++-2.0s which require the -std=c++11 flag was broken again by a recent commit. The attached patch fixes it.
tags: | added: build cmake |
Changed in inkscape: | |
milestone: | none → 0.92 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I don't think it's required : In DefineDependsan dFlags: 371->374 , pkg-config detects if there is a need for c++11,and basically makes the output of SIGC++_CFLAGS_OTHER either -std=c++11 or nothing, the equivalent of
$ pkg-config sigc++-2.0 --cflags-only-other
-std=c++11
then the flag is added to cmake_cxx_flags in line 378
Did you try a fresh build which failed because of the lack of c++11 ?