Description: use c++11 standard instead of c++98
 cppunit now requires c++11, so use this for building.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Bug-Debian: https://bugs.debian.org/862133

Index: gnuradio-3.7.10.1/CMakeLists.txt
===================================================================
--- gnuradio-3.7.10.1.orig/CMakeLists.txt
+++ gnuradio-3.7.10.1/CMakeLists.txt
@@ -66,11 +66,11 @@
 # set(CMAKE_CXX_STANDARD 98)
 
 IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
-    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
-    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 ELSE()
     message(warning "C++ standard could not be set because compiler is not GNU, Clang or MSVC.")
 ENDIF()
Index: gnuradio-3.7.10.1/gr-fec/CMakeLists.txt
===================================================================
--- gnuradio-3.7.10.1.orig/gr-fec/CMakeLists.txt
+++ gnuradio-3.7.10.1/gr-fec/CMakeLists.txt
@@ -46,6 +46,8 @@
 
 SET(GR_PKG_FEC_EXAMPLES_DIR ${GR_PKG_DATA_DIR}/examples/fec)
 
+add_compile_options(-std=c++98)
+
 ########################################################################
 # Begin conditional configuration
 ########################################################################
