kicad/kicad-set-cxx-version.patch
Dave Plater da747f6d6e Accepting request 520850 from home:plater
- Update to version 4.0.7.
- Build with fPIE.
- Rebased kicad-set-cxx-version.patch.
- Upstream changes:
 * Bugs Fixed:
   Fix broken links and add correct links to about dialog.
   Eeschema: highlight the first choice in rescue dialog.
   Eeschema: fix zone properties dialog level setting tooltip.
   Pcbnew: fix segfault when appending a board in GAL mode.
   Remove some useless or incorrect asserts in plot functions.
   Pcbnew: continue loading footprints after first failure.
   Eeschema: don’t apply last line width to text thickness in
   symbol library editor.
   Pcbnew: add option to plot DXF lines in outline mode.
   Pcbnew: add option to plot DXF editable text.
   Pcbnew: fix crash when dragging a track.
   Fix crash when dragging a track.
   Remove leading/trailing white space error message from field
   validator.
 * Other changes:
   Pcbnew: fix bug loading board files written when layers could
   have numeric names.
   Pcbnew: prevent segfault when outline has no vertices reading
   P-CAD file.
   Pcbnew: fix tooltip error in copper zones dialog.
   Eeschema: move BOM scripts so they are installed correctly.
   Apply changes from master to GOST page layouts.
   Save text thickness in worksheet editor.
   Fix default line widths for non-mm units in DXF import.
   Better error messages when throwing an I/O error or parse error.
   Cvpcb: fix incorrect assignments when using .equ files and
   automatic association.
   Fix possible crash and issues when a incorrect fp lib table is
   loaded.
   Fix crash when writing zip archive file to folder that is not
   writeable.
   Fix issues in plot functions when used from python scripts.

OBS-URL: https://build.opensuse.org/request/show/520850
OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=37
2017-09-04 16:36:59 +00:00

14 lines
648 B
Diff

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig 2017-08-28 16:31:31.000000000 +0200
+++ CMakeLists.txt 2017-09-04 15:36:13.027522479 +0200
@@ -161,6 +161,8 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CX
# subsequently on the command line, such as in pcbnew/github/CMakeLists.txt
set( CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}" )
set( CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}" )
+
+ set( CMAKE_CXX_STANDARD 14 )
# The optimization level is -O1 instead of the usual -O2 level because
# boost::polygon has a function (inflate polygon) broken by the -O2 level