[packages/qdigidoc] forgotten patch

glen glen at pld-linux.org
Mon Sep 18 22:08:20 CEST 2017


commit 709ff9abe74d26fb332ef86e436669ec43dd7a17
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Sep 18 22:48:47 2017 +0300

    forgotten patch

 0001-fix-cmake-flags.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/0001-fix-cmake-flags.patch b/0001-fix-cmake-flags.patch
new file mode 100644
index 0000000..cef3d54
--- /dev/null
+++ b/0001-fix-cmake-flags.patch
@@ -0,0 +1,15 @@
+Index: qdigidoc/breakpad/CMakeLists.txt
+===================================================================
+--- qdigidoc/breakpad/CMakeLists.txt	(revision 112)
++++ qdigidoc/breakpad/CMakeLists.txt	(working copy)
+@@ -34,7 +34,9 @@
+ 	add_definitions( -D_FILE_OFFSET_BITS=64 )
+ 	set( COMMON_FLAGS "-fno-exceptions -Wno-unused-parameter -Wno-missing-field-initializers" )
+ 	set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_FLAGS}" )
+-	set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_FLAGS} -fno-rtti -fno-threadsafe-statics" )
++        # See https://code.google.com/p/google-breakpad/issues/detail?id=481#c5
++        set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_FLAGS} -fno-rtti -fno-threadsafe-statics -std=gnu++0x" )
++	        
+ if( APPLE )
+ 	set( SOURCES ${SOURCES}
+ 		${BREAKPAD_PATH}/client/mac/handler/exception_handler.cc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qdigidoc.git/commitdiff/709ff9abe74d26fb332ef86e436669ec43dd7a17



More information about the pld-cvs-commit mailing list